Expand description
Deterministic layered DAG layout (Sugiyama method) for Manifest.
Produces node positions + bounding rect via dagre-dgl-rs. All computation
is pure and wasm-safe (no threads, filesystem, randomness, or SystemTime).
The same input yields byte-identical JSON on native and wasm32 targets.
Structs§
- Layout
Options - Configuration knobs for layout. All values are pinned for determinism.
- Layout
Result - Result of running layout on a manifest.
- Node
Position - The computed position for a single node.
- Point
- A 2D point (center of a node).
- Rect
- An axis-aligned rectangle (bounding box).
Functions§
- layout
- Computes a layered DAG layout for
manifestwith the given options.