Number: 2084
Title: Link swings wildly before heading to destination node
Submitter: Daren Scot Wilson
Date: Wed Dec 1 16:28:35 2010
Subsys: Dot
Version: 2.26.3
System: x86-Linux-RHEL5
Severity: minor
A toy .dot script produces a graph with one link curving wildly upward before heading down to its destination.

The attached script is as minimal as I can make it and still show the bug.

The wild loop sensitive to changes in the script. If the label in foo is changed to 2 or 4 items, the upward loop in the wild link is smaller. One item, the link looks normal. Five, it's bigger than with four. The label "mondays only" on the nearby link needs to be there, and its fontsize affects the wild loop. The two one-way arrows between biff and glog must be there; a single link leads to a nice looking graph.

bash> dot -V
dot - graphviz version 2.26.3 (20100126.1600)

bash> dot -Tps >

Same wild link appears if I output to .png
Input file: b2084.gv
Output file:
Fix: Fuss with node sizes, label sizes, and layout until problem goes away.
Owner: *
Status: *