ROUTE_CONTAINER_MISANCHOR
ROUTE_CONTAINER_MISANCHOR is a geometric warning: an edge attached to a subgraph or group does not terminate on the container’s border.
What triggers it. Container-anchored edges must end exactly on the group rectangle; a miss means the border moved after routing. This is a tripwire over final geometry rather than a source mistake.
How to fix it. Re-anchor the edge to a member node instead of the container as a workaround, and report the source — the container anchor contract is the engine’s to uphold.
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.