“state” [ value = “” ];
“IDLE” [ value = “INT:0” ];
“state” -> “IDLE” [
xlabel = “”
minlen = 2
line = “18”
];
}
I added minlen=2 (inch) in the edge attribute. It give splines from[const splines *spline = ED_spl(m_edge);] . In this, I draw edge and compute length of edge using QPainterpath in Qt. But I will not get same or greater length of the edge from graphviz because I need minimum length and here, my minimum length is 2 inch. Is this right attribute parameter of minimum edge length.
I also change Graphviz internal coordinate system to Qt coordinate system for computing edge length but i did not get valid length of the edge when i compute in Qt.
I have problem number (2)… length of the edge is changed using minlen attribute but unit is not same…
I need if I set attribute minlen=1(1 inch) than it will give me minimum length of the edge 96 pixels(1 inch) with QPainterpath in Qt.
I tried generating ps and svg output and I can’t get the units correct either. It’s seems that ps output is around 74 % of the correct value and svg around 33%.