Number: 529
Title: Graphs with HTML records don't scale correctly
Submitter: Dag Lem
Date: Thu Sep 9 09:25:07 2004
Subsys: Neato
Version: 1.15 2004-09-09
System: x86-Linux-2.4.26 (Fedora Core 1)
Severity: major
Problem:
Any graph consisting of HTML records seems to be scaled without bounds if -Goverlap=scale or -Goverlap=false is used. If it is not used, severe overlap occurs. The (simple) attached example yields a 5538x879 pixel graph. More complex graphs will either use all machine resources or, if e.g. -Gsize=7,10 is specified, fail with the error message "Error: Problem rendering glyph : Times-Roman"

dotneato/neato -Goverlap=scale -Tpng test.dot > test.png

The same problem occurs with twopi.
Input:

graph test {
node [shape=plaintext];
edge [dir=none];

A -- B;

A [label=<
<table border="0">
  <tr><td>A</td></tr>
</table>

>>];


B [label=<
<table border="0">
  <tr><td>B</td></tr>
</table>

>>];


}
Comments:
[erg] This is unrelated to html nodes. Any non-ellipse, polygonal node will cause the same problem. The internal units were changed, but only partially, from inches to points. Hence, various features, including overlap removal in neato, are broken.

See also bug 526
Fix:
Internal units for polygon vertices were changes without checking for any downstream effects.
Owner: erg
Status: Fixed (9 Sept 2004)