Number: 689
Title: Not the best splines to record field with same rank
Submitter: Suan Yong
Date: Fri Apr 22 09:28:05 2005
Subsys: Dot
Version: 1.16
System: x86-Windows-XP
Severity: minor
Problem:
In a vertically-oriented (top-to-bottom) graph, I can't get horizontal arrows (between siblings of same rank) to look good when connecting to a field in a record. In the given example I get "golden arches" instead of straight lines.

If I connect directly to the record object x, I do get straight lines as desired, but I want to connect to the field j.

I get the same behavior using a subgraph with rank=same instead of the constraint=false approach. I've tried qualifying with ports (w:e -> x:j:w), and it just twists the arches even more. Other attempts (like assigning weights) don't work either.

Suan
Input:

digraph G {
  x [
    shape = record
    label = "{ i | <j> j }"
  ]
  w -> x:j [ constraint = false ]
  x:j -> y [ constraint = false ]
}
Output file: b689.gif
Owner: erg
Status: Fixed (22 June 2005)