# Diagrams

> Diagram as code in Python for prototyping cloud system architectures.

- Category: [Diagrams as code](https://awesomedataviz.com/categories/diagrams-as-code/)
- Website: https://diagrams.mingrammer.com
- Repository: https://github.com/mingrammer/diagrams
- License: MIT
- Language: Python
- Status: Active (commits in the last 90 days)
- GitHub stars: 42,673
- Commits in the last 12 months: 48
- Contributors: 178
- Last commit: Oct 1, 2026
- Latest release: v0.25.1 (Nov 22, 2025)
- Install (PyPI): `pip install diagrams`, 217.5K downloads per week
- Topics: Diagrams & diagrams as code

## 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.

## Alternatives

- [Mermaid](https://awesomedataviz.com/tools/mermaid/): Generate diagrams and flowcharts from markdown-like text definitions, with a live editor. (90.5K stars)
- [D2](https://awesomedataviz.com/tools/d2/): Declarative diagram scripting language that turns text into diagrams. (25.6K stars)
- [PlantUML](https://awesomedataviz.com/tools/plantuml/): Generates UML, Gantt, mind map and other diagrams from plain text. (13.4K stars)
- [Markmap](https://awesomedataviz.com/tools/markmap/): Builds interactive mind maps from Markdown. (13.1K stars)
- [flowchart.js](https://awesomedataviz.com/tools/flowchart-js/): Draws SVG flowcharts from a textual description. (8.7K stars)
- [Penrose](https://awesomedataviz.com/tools/penrose/): Creates diagrams from mathematical notation in plain text, from Carnegie Mellon University. (8K stars)

## Comparisons

- [Diagrams vs Mermaid](https://awesomedataviz.com/compare/diagrams-vs-mermaid/)
- [D2 vs Diagrams](https://awesomedataviz.com/compare/d2-vs-diagrams/)
- [Diagrams vs PlantUML](https://awesomedataviz.com/compare/diagrams-vs-plantuml/)
- [Diagrams vs Markmap](https://awesomedataviz.com/compare/diagrams-vs-markmap/)

Source: https://awesomedataviz.com/tools/diagrams/ · Data updated 2026-10-04 · Content: CC BY 4.0, Awesome Dataviz (https://awesomedataviz.com).
