Diagrams
Diagram as code in Python for prototyping cloud system architectures.
- Active
- MIT
- Python
- Diagrams as code
- GitHub stars
- 42.7K#10 in the directory
- PyPI downloads / week
- 217.5K
- Commits, last 12 months
- 48
- Contributors
- 178
- Last commit
- Latest release
- v0.25.1Nov 22, 2025
Overview
Diagrams is an open-source diagram-as-code tool released under the MIT license. Its GitHub repository has 42,673 stars, 2,732 forks, and 178 contributors. It is actively developed with 48 commits in the last 12 months. The latest release, v0.25.1, was published on Nov 22, 2025. On PyPI it is downloaded about 217.5K times per week.
Its GitHub description: Diagram as Code for prototyping cloud system architectures
GitHub topics: diagramdiagram-as-codearchitecturegraphviz
Install
Development activity
Commits per month to the default branch over the last 12 complete months.
Show data as a table
| Month | Commits |
|---|---|
| Oct 2025 | 6 |
| Nov 2025 | 6 |
| Dec 2025 | 1 |
| Jan 2026 | 1 |
| Feb 2026 | 2 |
| Mar 2026 | 1 |
| Apr 2026 | 2 |
| May 2026 | 2 |
| Jun 2026 | 6 |
| Jul 2026 | 3 |
| Aug 2026 | 13 |
| Sep 2026 | 5 |
Popularity among Diagrams as code
Show data as a table
| Tool | Stars |
|---|---|
| Mermaid | 90,531 |
| Diagrams | 42,673 |
| D2 | 25,564 |
| PlantUML | 13,352 |
| Markmap | 13,147 |
| flowchart.js | 8,700 |
| Penrose | 7,985 |
Alternatives to Diagrams
-
Mermaid
Generate diagrams and flowcharts from markdown-like text definitions, with a live editor.
-
D2
Declarative diagram scripting language that turns text into diagrams.
-
PlantUML
Generates UML, Gantt, mind map and other diagrams from plain text.
-
Markmap
Builds interactive mind maps from Markdown.
-
flowchart.js
Draws SVG flowcharts from a textual description.
-
Penrose
Creates diagrams from mathematical notation in plain text, from Carnegie Mellon University.
More comparisons: Diagrams vs Mermaid · D2 vs Diagrams · Diagrams vs PlantUML · Diagrams vs Markmap
Diagrams FAQ
Is Diagrams open source?
Is Diagrams still maintained?
How do I install Diagrams?
pip install diagrams.What are the best alternatives to Diagrams?
What language is Diagrams written in?
Data: GitHub API, PyPI. Updated Oct 4, 2026.