mermaid-js/mermaid
Diagrams from markdown-like text
What
Renders flowcharts, sequence, class, state, ER, Gantt and more from text. Built into GitHub, GitLab, Notion and many doc tools.
How to use
npm install mermaidflowchart LR
A[Client] --> B[API]
B --> C[(DB)]In GitHub markdown, put that text in a fenced block tagged mermaid. Live editor: mermaid.live.
Reach for it when
you want diagrams versioned as text next to code.