Against Graphviz dot
The target for the layered layout is at least 90% layer agreement and at most 20% crossing delta per graph against Graphviz dot, on 12,811 graphs (11,534 from Rome-Lib, 1,277 North DAGs). The gate needs 80% of graphs to pass. The shipped default does not meet it.
Shipped default26.80%
Best opt-in76.72%
gate 80%
3,433 of 12,811 graphs pass with the default. The best opt-in configuration (balanced network-simplex ranking plus sifting-plateau ordering at 256 restarts) reaches 9,828, at about 125× the default ordering work. Measured on dot 2.42.4.
2,266 tests pass
Unit, property and quality tests across the workspace: no NaN coordinates, bounding-box containment, determinism, and per-algorithm correctness. 13 tests are ignored.
cargo test --workspace --features petgraph,serde --no-fail-fast, counted 2026-10-06.
Same seed, same drawing
Every random choice is seeded from the config, so a layout is reproducible run to run on the same runtime. Native and WebAssembly builds are not promised to match bit for bit.
Clean-room, with sources named
Algorithms are implemented from the published papers. GPL and LGPL code is never read; permissively licensed references are named. Each module states its papers, the references it consulted and the ones it did not.
Orthogonal drawings, stated plainly
The orthogonal layout is a deterministic baseline. Where it realises a planar embedding it draws with zero crossings, and on small inputs an independent checker confirms the bends are minimal. It does not claim minimum bends, crossings or area in general.