Getting unpredictable errors

Ever since I changed all my "labels" to <labels> I'm getting unpredictable and unintelligible errors from dot like "Warning: Unable to reclaim box space in spline routing for edge"

 

digraph G {
subgraph cluster_I {
newrank="true";
label="Incoming Numbers";
style=filled;
color=lightgrey;
node [style=filled,color=white];
"thisExtension" [shape=square style="rounded, filled" color=lightskyblue1 label=<Extension 20<br/>“Paul's SIP device”>];
"+15412362468" [shape=rectangle style="rounded, filled" color=azure label=<+15412362468<br/>“ROSEBURG, Oregon”>];
"+15412362468" -> "thisExtension" [tailport=e];
"+12069732753" [shape=rectangle style="rounded, filled" color=azure label=<+12069732753<br/>“+1 206.973.2753”>];
"+12069732753" -> "thisExtension" [tailport=e];
"+441134037186" [shape=rectangle style="rounded, filled" color=azure label=<+441134037186<br/>“+441134037186”>];
"+441134037186" -> "thisExtension" [tailport=e];
"+15412362468" -> "+12069732753" -> "+441134037186" [weight=1000, style=invis];
}
subgraph cluster_A {
color=blue;
subgraph cluster_1W {
style=filled;
color=lightgrey
"actionstart" [shape=invhouse, label=<Start Inbound Action Steps<br/>(can be interrupted by menu dial)>]
"thisExtension" -> "actionstart" [tailport=e headport=w];
}
subgraph cluster_2G {
style=filled;
color=aquamarine2
"9if" [shape=diamond color=azure label=<<font point-size="8" color="grey">STEP #1</font><br/>IF <b>[</b>MENUKEY<b>] </b>DOES EQUAL “4”>];
"10if" [shape=diamond color=azure label=<<font point-size="8" color="grey">STEP #2</font><br/>IF <b>[</b>SUM<b>] </b>DOES EQUAL “2”<br/>AND INSIDE “BUSINESS HOURS”>];
"11ring" [shape=rectangle color=azure label=<<font point-size="8" color="grey">STEP #3</font><br/>Ring this Extension>];
"13playrecording" [shape=rectangle color=azure label=<<font point-size="8" color="grey">STEP #5</font><br/>Play a Recording>];
}
subgraph cluster_3Y {
style=filled;
color=salmon1
"14else" [shape=diamond color=azure label=<<font point-size="8" color="grey">STEP #6</font><br/>ELSE>];
"15playrecording" [shape=rectangle color=azure label=<<font point-size="8" color="grey">STEP #7</font><br/>Play a Recording>];
}
subgraph cluster_W4 {
style=filled;
color=lightgrey
"16transfer" [shape=rectangle color=azure label=<<font point-size="8" color="grey">STEP #8</font><br/>Transfer to Extension<br/><font point-size="8" color="red">(LAST ACTION)</font>>];
}
subgraph cluster_5G {
style=filled;
color=aquamarine2
"17else" [shape=diamond color=azure label=<<font point-size="8" color="grey">STEP #9</font><br/>ELSE>];
"18hangup" [shape=rectangle color=azure label=<<font point-size="8" color="grey">STEP #10</font><br/>Hang Up<br/><font point-size="8" color="red">(LAST ACTION)</font>>];
}
subgraph cluster_W6 {
style=filled;
color=lightgrey
"19busy" [shape=rectangle color=azure label=<<font point-size="8" color="grey">STEP #11</font><br/>Play Busy Signal<br/><font point-size="8" color="red">(LAST ACTION)</font>>];
}
subgraph cluster_O {
style=filled;
color=lightgray
label="Dial Menu"
"20huntgroup" [shape=rectangle color=azure label=<DIAL ①:<br/>Ring a Hunt Group<br/><font point-size="8" color="red">(THEN GO TO STEP #1)</font>>];
"21transfer" [shape=rectangle color=azure label=<DIAL ②:<br/>Transfer to Extension<br/><font point-size="8" color="red">(LAST ACTION)</font>>];
"22huntgroup" [shape=rectangle color=azure label=<DIAL ③:<br/>Ring a Hunt Group<br/><font point-size="8" color="red">(THEN GO TO STEP #1)</font>>];
"23ring" [shape=rectangle color=azure label=<DIAL ④:<br/>Ring this Extension<br/><font point-size="8" color="red">(DISCONNECT IF NO ANSWER)</font>>];
"24huntgroup" [shape=rectangle color=azure label=<DIAL ⑥:<br/>Ring a Hunt Group<br/><font point-size="8" color="red">(DISCONNECT IF NO ANSWER)</font>>];
"25ring" [shape=rectangle color=azure label=<DIAL (✽):<br/>Ring this Extension<br/><font point-size="8" color="red">(THEN GO TO STEP #1)</font>>];
"26set" [shape=rectangle color=azure label=<DIAL ⓪:<br/>Store Value in Memory<br/>Variable Name: <b>[</b>SUM<b>] </b>New Value: “8”<br/><font point-size="8" color="red">(THEN GO TO STEP #1)</font>>];
"27ring" [shape=rectangle color=azure label=<DIAL (<b>#</b>):<br/>Ring this Extension<br/><font point-size="8" color="red">(THEN GO TO STEP #1)</font>>];
}
"actionstart" -> "9if" -> "10if" -> "11ring" -> "13playrecording" -> "14else" -> "15playrecording" -> "16transfer" -> "17else" -> "18hangup" -> "19busy" -> "20huntgroup" -> "21transfer" -> "22huntgroup" -> "23ring" -> "24huntgroup" -> "25ring" -> "26set" -> "27ring" [weight=1000, style=invis];
}
subgraph columnthree {
"Extension10" [shape=square shape=square style="rounded, filled" fillcolor=lightskyblue1 label=<Extension 10<br/>“Jeff's Test Exten”>];
"16transfer" -> "Extension10" [tailport=e weight=0];
"HuntGroup2" [shape=square shape=septagon style="filled" fillcolor=lightcyan1 label=<HuntGroup<br/>“test hunt group”>];
"20huntgroup" -> "HuntGroup2" [tailport=e weight=0];
"Extension10" [shape=square shape=square style="rounded, filled" fillcolor=lightskyblue1 label=<Extension 10<br/>“Jeff's Test Exten”>];
"21transfer" -> "Extension10" [tailport=e weight=0];
"HuntGroup2" [shape=square shape=septagon style="filled" fillcolor=lightcyan1 label=<HuntGroup<br/>“test hunt group”>];
"22huntgroup" -> "HuntGroup2" [tailport=e weight=0];
"HuntGroup3" [shape=square shape=septagon style="filled" fillcolor=lightcyan1 label=<HuntGroup<br/>“another hunt group”>];
"24huntgroup" -> "HuntGroup3" [tailport=e weight=0];
}
{ rank=same; "Extension10"; "16transfer"}
{ rank=same; "HuntGroup2"; "20huntgroup"}
{ rank=same; "HuntGroup3"; "24huntgroup"}
{ rank=same; "+15412362468"; "thisExtension"; "actionstart";  }
}

I really need to resolve this in the general case. I'm using 2.38.0

 

Re: Getting unpredictable errors

Sorry for the problems.  Whether fortunately or unfortunately, I was not able to get this error in graphviz 2.39 on the macbook that I use. Also does not happen with Homebrew Graphviz 2.38. In any case, a message like that indicates something went wrong or is infeasible in the layout that was generated, that does not allow splines to be routed, for example if nodes are touching that shouldn't, or if a triangulation failed, etc. because of a progamming error earlier. There isn't much you can do about this from the outside, except try to increase nodesep, ranksep, esep. The bug seems unpredicable to the extent that if you change the graph, it sometimes avoids this particular bug. 

None of us live on the reservation any more, but Emden might know more than anyone about how the triangulation and spline routing code of today works. These kind of bugs are sometimes tedious to fix. If someone new wants to get involved, we can offer some specific advice. Not sure how long it could take to find a bug like this once someone starts, maybe a day, maybe longer. 

Stephen North

 

I also have am example which

I also have am example which will process (create an svg file), but still spits out some errors which I don't understand. I'm not allowed to share it, however, due to the 'spam' filter. 

 

You should be able to submit

You should be able to submit it via a bug report. 

I believe this has been fixed in 2.39.

Recent comments