[dot] Segfault when setting nodesep to 0.3
Created by: Chiel92
The following graph gives a segfault when doing a dot layout. (tested with windows 7)
digraph "Graph 76b00d8f-11c3-463d-ad26-29f5d68c9008" {
graph [ nodesep=0.03 ];
node [ shape=point ];
subgraph "rank-target" {
graph [rank=same];
"A";
"B";
"X";
}
"A" -> "X";
"B" -> "X";
}
$ cat dump.dot | ./dot.exe -Tsvg -O
Segmentation fault
When increasing the nodesep
to 0.4
, the following messages appear.
$ cat dump.dot | ./dot.exe -Tsvg -O
libpath/C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\pathplan\shortest.c:324: triangulation failed
libpath/C:\Users\Chiel.tenBrinke\Projects\graphviz\lib\pathplan\shortest.c:207: cannot find triangle path
Warning: Unable to reclaim box space in spline routing for edge "A" -> "X". Something is probably seriously wrong.
According to http://www.graphviz.org/doc/info/attrs.html#a:nodesep, the minimum value is only 0.2
.
Edited by Matthew Fernandez