I get a weird graphviz layout with overlapping edges.
Node "5" is placed in the wrong place:

If I force the correct position with the edge between node "5" and node "h", everything will be well placed:

Why is the default layout so dirty?
Here is my point source (just uncomment the line to get a fixed version):
digraph dummy {
subgraph line1 { rank = same
"1", "a", "b", "c", "d", "e", "f", "17"
}
subgraph line2 { rank = same
"9", "g", "11"
}
subgraph line3 { rank = same
"3", "h", "i", "14"
}
"c" -> "d"
"a" -> "b"
"b" -> "c"
"e" -> "f"
"i" -> "14"
"14" -> "f"
"a" -> "3"
"3" -> "h"
"d" -> "9"
"9" -> "g"
"h" -> "i"
"g" -> "i"
"d" -> "e"
"g" -> "11"
"11" -> "e"
"b" -> "5"
"c" -> "7"
"f" -> "17"
"1" -> "a"
"h" -> "13"
"i" -> "15"
"i" -> "15bis"
"i" -> "16"
}
With @Sisyphus I can get a better result (but the nodes "11" ang "g" switch for no reason):

source
share