Diagrams as code
Diagrams and charts generated from plain-text descriptions. 11 tools, ranked by GitHub stars and updated .
Tools that turn plain-text descriptions into diagrams, so diagrams live in version control next to the code and documentation they describe. Mermaid renders flowcharts, sequence diagrams and more from Markdown-like text and is supported in GitHub Markdown; WaveDrom draws digital timing diagrams.
By GitHub stars, the most popular diagram-as-code tools here are Mermaid (90.5K stars), Diagrams (42.7K stars), and D2 (25.6K stars). 10 of 11 had commits in the last 90 days.
| 1 |
Generate diagrams and flowcharts from markdown-like text definitions, with a live editor. |
90.5K |
| 2 |
Diagram as code in Python for prototyping cloud system architectures. |
42.7K |
| 3 |
Declarative diagram scripting language that turns text into diagrams. |
25.6K |
| 4 |
Generates UML, Gantt, mind map and other diagrams from plain text. |
13.4K |
| 5 |
Builds interactive mind maps from Markdown. |
13.1K |
| 6 |
Draws SVG flowcharts from a textual description. |
8.7K |
| 7 |
Creates diagrams from mathematical notation in plain text, from Carnegie Mellon University. |
8K |
| 8 |
Architecture-as-code language and tools that generate live, interactive diagrams. |
5.8K |
| 9 |
Unified API that renders diagrams from many text formats, including PlantUML, Mermaid, Graphviz and D2. |
4.4K |
| 10 |
Draws timing diagrams and waveforms from simple textual descriptions. |
3.5K |
| 11 |
TeX package for drawing 2D and 3D plots directly in LaTeX documents. |
257 |
Head-to-head comparisons
Related topics
Related categories
Frequently asked questions
What is the most popular diagram-as-code tool?
Which diagram-as-code tools are actively maintained?
Are these diagram-as-code tools free and open source?
Missing a tool? Add it with a one-line pull request to the README.