[Dot] shortest.c:324: triangulation failed while using ports in combination with rank=same
Ported Issue from Mantis Original ID: 2594 Reported By: gschmitz
SEVERITY: CRASH Submitted: 2016-03-15 09:47:59
OS: WINDOWS
OS BUILD: 7
DESCRIPTION
libpath/.\shortest.c:324: triangulation failed
libpath/.\shortest.c:192: source point not in any triangle
Error: in routesplines, Pshortestpath failed
I know there is a similar report #2382 (closed), but I have little tiny graph that produces the crash which might be easier to debug.
STEPS TO REPRODUCE
I imagine that whenever rank=same is combined with linking multiple ports that lie in the same rank produces the error.
digraph G {
node [shape="Mrecord"];
A -> B -> C
A -> D
{rank="same"; D; C}
C [ label="{C-title | <st> Start | <sp> Stop }"];
D [ label="{D-title | <b> Begin | <e> End}"];
C:st:e -> D:b:w;
C:sp:e -> D:e:w;
}
Edited by Matthew Fernandez