Agentic Mermaid

What triggers it. A routing tripwire on the final geometry: the router avoids self-intersection, so a firing means dense cyclic routing degraded. The warning names the edge and the crossing count.

How to fix it. Remove or redirect the redundant edge (remove_edge, then add_edge along a simpler path); a persistent self-cross on unchanged source is an engine bug to report.

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.