[Dot] Edges to ports drawn inside node
Ported Issue from Mantis Original ID: 274 Reported By: Sascha Silbe
SEVERITY: MINOR Submitted: 2003-09-02 19:05:20
OS: --
VERSION: 1.10
DESCRIPTION
I'm trying to let dot (or neato) draw a graph similar to the one on
"http://www.research.att.com/sw/tools/graphviz/examples/directed/datastruct.html".
But even when using the dot file on that page (after repairing the
multiline labels), dot aims the ends of the edges at the center of the
target port, not at the node boundary.
If you examine the 0xf7fc4380 node port on the left (the one pointed to by 0x10ba8), you'll see that the arrows are within the node. On the sample page, they point to the node boundary instead.
ADDITIONAL INFORMATION
[erg] The change occurred before June, 2003. This is actually an artifact of the whole layout changing, so that the edge now passes through the node on its way to the port. This is the current implementation. dot does not guarantee edges to ports will not go through the node, especially as the port may be entirely surrounded by other ports.
We could provide this feature, or implement ports on ports.
Also, as noted by the submitter, the sample dot files have line breaks in the middle of quoted strings, which means one can't run dot on them without first fixing the lines.