Expand description
Hand-rolled Fruchterman–Reingold force-directed layout, plus a radial by-directory-depth fallback.
Layouts are deterministic: initial positions come from a hash of the node key rather than an RNG, so the same bundle always settles into the same shape. Simulation is incremental — the caller budgets iterations per frame — and positions persist across snapshot reloads so the picture does not jump when a file changes.
Structs§
- Layout
Engine - The layout state: node positions keyed by stable node key, plus the simulated-annealing temperature.
Enums§
- Layout
Mode - The available layout algorithms, cycled with
L.