Can someone help me consider following digraph:
digraph g { graph [nodesep="0.25" ,ranksep="0.5" ]; 0 [ width="2.5" ,height="0.41666666666666663" ,shape="box" ,fixedsize="true" ]; {rank=source; 1 [ width="0.4861111111111111" ,height="0.4861111111111111" ,shape="circle" ,fixedsize="true" ];} {rank=sink; 2 [ width="0.4861111111111111" ,height="0.4861111111111111" ,shape="circle" ,fixedsize="true" ];} subgraph cluster3 { graph [label="MMMMM" ,margin="50" ]; 4 [ width="2.5" ,height="0.41666666666666663" ,shape="box" ,fixedsize="true" ]; 5 [ width="2.5" ,height="0.41666666666666663" ,shape="box" ,fixedsize="true" ]; }; 4 -> 0 [ arrowsize="0.5" ,tailclip="false" ,fontname="Segoe UI SemiBold" ,fontsize="12" ,penwidth="6" ,label="MMMMM" ,weight="9" ,comment="6" ]; 0 -> 5 [ arrowsize="0.5" ,tailclip="false" ,fontname="Segoe UI SemiBold" ,fontsize="12" ,penwidth="6" ,label="MMMMM" ,weight="9" ,comment="7" ]; 0 -> 0 [ arrowsize="0.5" ,tailclip="false" ,fontname="Segoe UI SemiBold" ,fontsize="12" ,penwidth="6" ,label="MMMMM" ,weight="23" ,comment="8" ]; 5 -> 2 [ arrowsize="0.5" ,tailclip="false" ,fontname="Segoe UI SemiBold" ,fontsize="12" ,penwidth="6" ,label="MMMMM" ,weight="9" ,comment="9" ]; 1 -> 4 [ arrowsize="0.5" ,tailclip="false" ,fontname="Segoe UI SemiBold" ,fontsize="12" ,penwidth="6" ,label="MMMMM" ,weight="9" ,comment="10" ]; }
When I run -Tsvg/-Tpng for the above digraph there is issue with resulting png/svg output. There are missing labels for the following edges:
0 → 5
4 → 0
Do you see any issue with above digraph ? Or is there bug in graphviz ?