ROUTE_STALE_AFTER_NODE_MOVE
ROUTE_STALE_AFTER_NODE_MOVE is a geometric warning: an edge still follows a corridor computed before a node moved: an endpoint anchors where its node used to be, or another node now sits on the route.
What triggers it. A compaction or alignment pass moved a node after edge routing without re-anchoring the affected edges. Not producible from source alone in normal operation.
How to fix it. No diagram edit reliably clears it; report the reproducing source. If it blocks a task, removing and re-adding the named edge forces a fresh route.
Run am verify diagram.mmd --json and inspect this code. Agentic Mermaid causes it, not the diagram: follow the fix above and report the source.
In the cloned repo, am is bun run bin/am.ts.
Machine-readable: this page as Markdown.
Back to all warning codes, or open a blank editor to try a fix.