Number: 2129
Title: Bad arrow when combining shape record and HTML label
Submitter: PlantUML
Date: 4 Feb 2011
Subsys: dot
Version: 2.26.3
System: Windows XP
Severity: minor
Problem:
For horizontal arrow, the drawing goes inside the node. It works fine if the minlen=0 is removed.
Input:
digraph unix {
Acl1 [color="#A80036",shape=record,style="rounded,filled",color="#A80036",fillcolor="#FEFECE",label=<{<TABLE
BGCOLOR="#FEFECE" BORDER="0" CELLBORDER="0"
CELLSPACING="0"><TR><TD><FONT POINT-SIZE="14"
COLOR="#000000">AAAAAA</FONT></TD></TR></TABLE>|}>];
Acl2 [color="#A80036",shape=record,style="rounded,filled",color="#A80036",fillcolor="#FEFECE",label=<{<TABLE
BGCOLOR="#FEFECE" BORDER="0" CELLBORDER="0"
CELLSPACING="0"><TR><TD><FONT POINT-SIZE="14"
COLOR="#000000">AAAAAA</FONT></TD></TR></TABLE>|}>];
Acl1 -> Acl2[label="label",minlen=0];
}
Comments:
Note that error messages are reported. It usually doesn't make sense to mix HTML-like labels with records: the angle brackets mean different things in the two contexts.

This is really a problem with the implementation of complex flat edges between adjacent nodes for record nodes. Basically, it is broken. The simplest example is


digraph unix {
Acl1 [
  shape=record
  label="{AAAAAA|}"
]

Acl2 [ shape=record label="{AAAAAA|}" ]

Acl1 -> Acl2[label="label",minlen=0]; }

with output.

[erg] The fix is partial, in that it still doesn't handle the case of ports on the edges.
Owner: erg
Status: Fixed (5 Feb 2011)