Create and maintain Mermaid diagrams with your coding agent. Start with a working diagram, then use the references when you need precise commands or capability boundaries.
Getting started#
- Your first diagram: install the runtime, connect your agent and export a result.
- How it works: responsibilities, source files, checks and safe changes.
- Diagram types: all 32 notations and their capabilities.
- Examples: sources, walkthroughs and recorded demonstrations.
Guides#
- Agent integration: Pi, Claude Code, Codex and the bounded workflow.
- Rendering and export: SVG, PNG, themes and renderer limitations.
- Live preview: follow saved changes in a read-only viewer.
- Quality checks: audits, diagnostics and flowchart/state polish.
Reference#
- CLI reference: commands, options, JSON output and exit behavior.
- Transformations: source-preserving edits and architecture actions.
- Layout sidecars: flowchart/state presentation and reconciliation.
Contributing#
- Runtime internals: process boundaries, modules and data ownership.
- Development: build, test, vendor and release.
Capability boundaries#
All types support SVG/PNG, inspection and read-only preview. Flowcharts and state diagrams support measured geometry, source transformations, layout sidecars and polish. Architecture supports measured audit and bounded transforms, but no sidecar layout or automatic polish. Other types have SVG-reference checks, not geometry scores or source-editing authority.
See the complete type reference and coverage limitations. Rendering, geometry, visual quality and deployed-system correctness are different claims.