How to create graph with different fontcolor numbers for the same edge

Hi, I would like to know if it is possible to create a graph with different fontcolor numbers for the same edge.

the numbers on the edges can be in different parts of the same edge, i.e. taillabel, label, headlabel. 

If I understand your

If I understand your question, you want to be able to specify the font colors independently for the label, taillabel and headlabel.

This can be done by using an HTML-like label. (http://www.graphviz.org/content/node-shapes#html) For example,

  taillabel =<<font color="blue">abc</font> <font color="red">def</font>>

Recent comments