Skip to content

Edges between clusters

Engine
dot
Command, both sides
dot -Kdot -Tsvg input.gv
Features
compoundlheadltail
Result
identical on macOSidentical under portable math
Comparing…
C Graphviz 16.1.0 output, cyan plategraphviz-pure, native macOS build output, magenta plate

C onlyport onlyboth: in register

Input

gv16_graphs_compound_7ed9c4.gv
digraph G {
compound=true
subgraph clusterA {
a1 -> a2 -> a3
}
subgraph clusterB {
subgraph clusterC {
c1 -> c2
}
b1 -> b2
b1 -> b3
b1 -> c2
}
a1 -> b2 [lhead=clusterB]
c2 -> a3 [ltail=clusterC]
b3 -> a3 [ltail=clusterB, lhead=clusterA]
}

Files

FileBytesSHA-256
input.gv286
c.svg C5,580ead35a618f0f823b6b7ace2e2122be3f1dd99552ac42412ca1183efbef431e4a
rust.svg Rust5,591c37ea615d08cc6b1f6dd72755a3d48fe113c505faaf92600f49fc736f21a52ec

The two hashes differ even when the outputs are identical, because each file keeps its own generator comment. Made by scripts/site-samples.sh.