Mermaid.js
lastmod 2026-11-10created 2022-02-172 edits
Mermaid.js is a JavaScript library that renders Mermaid diagram syntax as SVG in the browser. When you describe flowcharts, sequence diagrams, Gantt charts, and the like as text, it turns those elements into graphics on page load, and it is used by embedding it in static sites or documentation tools. Command-line rendering is handled by mermaid-cli.