EXPLORATION 04 / 06
Layout, on purpose
Field notesWhat this showsA deterministic graph layout keeps the same pipeline readable in either direction. Change the direction or the breathing room, then compare the resulting positions.
Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.
Left → right · Balanced spacing
One graph, two directions
The same nodes and edges are passed to the shared layout helper. Horizontal is left to right; vertical is top to bottom.
Spacing is structural
Layer gap separates stages. Node gap separates siblings in a layer. Each preset changes both so the effect is visible.
Deterministic output
7 nodes · 8 edges · horizontal · balanced
Under the hood SVELTE 5
The actual route source, imported with ?raw. Shared components and graph utilities live in src/lib.