The routing graph
click any node · if it isn't adjacent, the machine hops there one seam at a time · newest request always wins
The rules
borrowed from how stateful media formats think, hand-rolled in ~150 lines
Why bother
the argument for graphs over handlers
Most interactive pages are a pile of listeners mutating shared flags — and every new trigger multiplies the ways they can contradict each other. Put the same interactions behind a state graph and the contradictions become unrepresentable: there is one current state, one pending route, and one place transitions happen. This study is the smallest possible demonstration; study 02 drives a real UI component with the same machine.