EXPLORATION 05 / 06

Edit without losing the thread

Field notes

What this showsTry graph edits in a local working copy. Connections are checked before they land, and every add, delete, reset, or accepted connection can be undone and redone.

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.
Activity
Select a node or drag from a handle to try a guarded connection.

Guarded connections

The shared validator rejects self-links, duplicate edges, and control cycles. Strict handle mode rejects incompatible source/target handles before an edge is committed.

Local history

Undo and redo keep snapshots in memory for this page only. Reloading is intentionally a clean start; nothing is persisted.

A safe experiment

Selected: No node selected · 5 nodes · 3 edges.

Under the hood SVELTE 5View source
src/routes/demo/interaction/+page.svelte

The actual route source, imported with ?raw. Shared components and graph utilities live in src/lib.