ellson / MOTHBALLED-graphviz

Moved to https://gitlab.com/graphviz/graphviz
Eclipse Public License 1.0
1.29k stars 253 forks source link

Unable to reclaim box space in spline routing for edge... Something is probably seriously wrong. #1284

Open robmckennon opened 6 years ago

robmckennon commented 6 years ago

testtransafe.txt Hello! I have been using DOT for about 3 years and never ran across anything like this. I have a relatively simple drawing that gives me the following warning when I try to draw/connect 2 objects...

Warning: Unable to reclaim box space in spline routing for edge "managetesttransafep10jax" -> "testtransafep10jax". Something is probably seriously wrong.

Line 76 is the problem line (currently commented out).

I've attached the dot code. Is this a bug or am I just missing something really simple?

Rob .

magneticnorth commented 6 years ago

I see the following, for what little it’s worth:

$ dot test*txt -Tpdf -o t.pdf Warning: flat edge between adjacent nodes one of which has a record shape - replace records with HTML-like labels Edge firewall6 -> firewall1 Error: lost firewall6 firewall1 edge $

Clearly a bug, not your fault, though the warning may be giving a useful suggestion. Not totally surprised - there is a lot of case analysis for routing edges with ports, that can go wrong.

On Sep 25, 2017, at 5:53 PM, robmckennon notifications@github.com wrote:

testtransafe.txt https://github.com/ellson/MOTHBALLED-graphviz/files/1331067/testtransafe.txt Hello! I have been using DOT for about 3 years and never ran across anything like this. I have a relatively simple drawing that gives me the following warning when I try to draw/connect 2 objects...

Warning: Unable to reclaim box space in spline routing for edge "managetesttransafep10jax" -> "testtransafep10jax". Something is probably seriously wrong.

Line 76 is the problem line (currently commented out).

I've attached the dot code. Is this a bug or am I just missing something really simple?

Rob .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ellson/MOTHBALLED-graphviz/issues/1284, or mute the thread https://github.com/notifications/unsubscribe-auth/ACtWz2gp75ppUY7ZY1qYuefQ1XGSPJ2jks5smCDcgaJpZM4PjZQQ.

emden commented 6 years ago

The root problem is the edge label. Change the edge label to [xlabel=":8666"]; as a workaround.

robmckennon commented 6 years ago

emden, Thank you so much! It worked like a charm. Guess I'll have to read up on the xlabel stuff.

Rob.

pieterhartel commented 2 years ago

Brilliant workaround, thanks!