Number: 2138
Title: Error in connection nodes
Submitter: Sergey Platonenko
Date: Mon Feb 14 14:50:44 2011
Subsys: Dot
Version: 2.26.3
System: x86-Windows-XP/7
Severity: minor
Problem: When the constraint=false attribute are using, the edge connects the nodes incorrect.
Input file: b2138.gv
Output file: b2138.svg
Comments:
[erg] This is the problem of flat edges between adjacent nodes with record shapes using ports. A workaround is to express the record using HTML-like labels.


digraph G {
node [shape=none];
A [label=<<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0">
<TR><TD PORT="A1">rec1</TD></TR>
<TR><TD PORT="A2">rec2</TD></TR></TABLE>>]
B [label=<<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0">
<TR><TD PORT="B1">rec1</TD></TR>
<TR><TD PORT="B2">rec2</TD></TR></TABLE>>]
A:A1->B:B2 [color=red, constraint=false];
}

[sergey]


executing->C:Program FilesGraphviz2.26.3bin\dot.exe  -Tpng -o"C:error.png" -Kdot
Warning: node B, port A2 unrecognized
Warning: node A, port B2 unrecognized

Figure

[erg] This has been fixed in the current working version.
Owner: *
Status: *