Is there any way to set the color of the edge label?

I have a massive graph with a lot of links (edges) and link labels. In all that mess it's hard to tell which label belongs to which edge, because despite of the difference in edge colors, all labels are black.

Is there any way to set the color of the edge label?

Use the fontcolor

Use the fontcolor attribute:

  a->b[label=foo fontcolor=red]

For even more control, use HTML-like labels.

Recent comments