Advices on rendering PNG / Problem with text overlaping

Im using the command:
dot -O -v -Tpng _test1.txt

Im tring to render a PNG file from the folowing:
______________________
digraph finite_state_machine{
nodesep=2;
/*rankdir=LR;*/
node [shape=box];
SWITCH_0 -> SWITCH_2 [ label = "CET.CDI.V000001 " ,taillabel="SDI-OUT", headlabel="SDI-IN",samehead="false",sametail="false" ];
SWITCH_0 -> SWITCH_1 [ label = "CET.CDI.V000002 " ,taillabel="SDI-OUT", headlabel="SDI-IN",samehead="false",sametail="false" ];
SWITCH_1 -> SWITCH_4 [ label = "CET.CDI.V000003 " ,taillabel="SDI-OUT", headlabel="SDI-IN",samehead="false",sametail="false" ];
SWITCH_2 -> SWITCH_6 [ label = "CET.CDI.V000004 " ,taillabel="SDI-OUT", headlabel="SDI-IN",samehead="false",sametail="false" ];
SWITCH_2 -> SWITCH_5 [ label = "CET.CDI.V000005 " ,taillabel="SDI-OUT", headlabel="SDI-IN",samehead="false",sametail="false" ];
SWITCH_2 -> SWITCH_4 [ label = "CET.CDI.V000006 " ,taillabel="SDI-OUT", headlabel="SDI-IN",samehead="false",sametail="false" ];
SWITCH_5 -> SWITCH_4 [ label = "CET.CDI.V000007 " ,taillabel="SDI-OUT", headlabel="SDI-IN",samehead="false",sametail="false" ];
SWITCH_6 -> SWITCH_5 [ label = "CET.CDI.V000008 " ,taillabel="SDI-OUT", headlabel="SDI-IN",samehead="false",sametail="false" ];
SWITCH_6 -> SWITCH_4 [ label = "CET.CDI.V000009 " ,taillabel="SDI-OUT", headlabel="SDI-IN",samehead="false",sametail="false" ];
SWITCH_6 -> SWITCH_3 [ label = "CET.CDI.V000010 " ,taillabel="SDI-OUT", headlabel="SDI-IN",samehead="false",sametail="false" ];
SWITCH_6 -> SWITCH_2 [ label = "CET.CDI.V000011 " ,taillabel="SDI-OUT", headlabel="SDI-IN",samehead="false",sametail="false" ];
SWITCH_6 -> SWITCH_1 [ label = "CET.CDI.V000012 " ,taillabel="SDI-OUT", headlabel="SDI-IN",samehead="false",sametail="false" ];
SWITCH_7 -> SWITCH_5 [ label = "CET.CDI.V000013 " ,taillabel="SDI-OUT", headlabel="SDI-IN",samehead="false",sametail="false" ];
SWITCH_10 -> SWITCH_11 [ label = "CET.CDI.V0e0014 " ,taillabel="SDI-OUT", headlabel="SDI-IN",samehead="false",sametail="false" ];
}
______________________

I Basicaly nead to have a name on each each Edge, on each Tail and on each head.
I'v try many way to do it , and the result is always messy and hard to read because those 3 text overlaps in hard to avoid manner

Also the samehead and the sametail feature doen't seam to have any noticible impact

Any advice ?
(this is only and example, my target is a drawing at least 20x bigger)

Thank's a lot , and god job !

AttachmentSize
_test1.txt.png90.27 KB

Actually, the samehead and

Actually, the samehead and sametail atttributes have a serious effect on the overlap. I'd suggest removing them, and setting the edge fontsize to something like 8. You might also want to try replacing the edge label attribute with an xlabel attribute and see which you like better.

Recent comments