Mermaid
Keep architecture and process diagrams alongside code as editable text.
Architecture & docs · Documentation reviewed 2026-11-10. Not independently tested.
When it helps
Documenting service interactions, workflows, and relationships without maintaining separate drawing files.
What to consider
MIT. Diagram support varies between renderers and versions. When accepting untrusted diagram text, review security settings and rendering boundaries before embedding it.
Getting started
Use a supported Markdown renderer or JavaScript integration, create a small diagram, and choose consistent rendering settings for your documentation.
Access & costs
- Runs
- Local / Self-hosted
- External account
- Not required
- API key
- Not required
- Costs
- Your hardware / hosting
Local rendering needs no hosted account, inference key, or paid service. Optional external editors and hosting have their own terms.
- Compatible Markdown or JavaScript renderer
- Diagram source text
Repository evidence
Stars: 91,195 · License: MIT
Last code push: 2026-11-22
Statistics retrieved: 2026-11-23T00:42:59+00:00
Counts are snapshots, not live rankings. Review the repository license and any hosted-service terms before adopting it.
Adding model calls?
Plan the tokens, retries, and fallback costs before connecting your tools.