Agentic Mermaid

What triggers it. Never in normal operation — the engine sizes the canvas around content, so this is a tripwire that fires only when a layout pass moves geometry after the canvas was sized. Layout is deterministic, so a firing input reproduces byte-identically.

How to fix it. Not fixable by editing the diagram content itself: simplify or remove the construct that provokes it, and report the source as a renderer bug so the layout defect gets fixed.

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.