Agentic Mermaid

What triggers it. A gantt after dependency naming a missing task, a sequence message whose participant was removed, or edges left dangling after a remove_node mutation.

How to fix it. Add the missing endpoint (add_node, add_participant, add_task) or retarget/remove the dangling edge (remove_edge, remove_message).

Minimal reproducer

This source triggers EDGE_MISANCHORED — checked at build time against the same engine the editor runs.

gantt
  dateFormat YYYY-MM-DD
  section Build
    Design :design, 2026-01-01, 2d
    Ship :ship, after review, 3d

Open this reproducer in the editor

Run am verify diagram.mmd --json, inspect this code, and apply the smallest source or typed mutation that clears it. If it persists after two mechanical attempts, return the warning and ask for human review.

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.