Why does Graphviz no longer minimise edge lengths when subgraphs are introduced
问题 I have this Graphviz graph: digraph { rankdir="LR"; overlap = true; Node[shape=record, height="0.4", width="0.4"]; Edge[dir=none]; A B C D E F G H I A -> B -> C D -> E -> F G -> H -> I Edge[constraint=false] A -> D -> G subgraph clusterX { A B } subgraph clusterY { E H F I } } which produces this output: I would have expected the length of the edge between A and D to be minimised so that the nodes would be arranged as: A B C D E F G H I rather than D E F G H I A B C This works as expected if