GitHub stars
42.8K#11 in the directory
PyPI downloads / week
181.7K
Commits, last 12 months
46
Contributors
177
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,818 stars, 2,730 forks, and 177 contributors. It is actively developed with 46 commits in the last 12 months. The latest release, v0.25.1, was published on Nov 22, 2025. On PyPI it is downloaded about 181.7K times per week.

Its GitHub description: Diagram as Code for prototyping cloud system architectures

GitHub topics: diagramdiagram-as-codearchitecturegraphviz

Install

PyPI
pip install diagrams
v0.25.1

Development activity

Commits per month to the default branch over the last 12 complete months.

051015 Nov 2025 Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep Oct
051015 Nov 2025 Feb 2026 May Aug
46 commits from Nov 2025 to Oct 2026.
Show data as a table
Diagrams commits per month
MonthCommits
Nov 20256
Dec 20251
Jan 20261
Feb 20262
Mar 20261
Apr 20262
May 20262
Jun 20266
Jul 20263
Aug 202613
Sep 20265
Oct 20264

Popularity among Diagrams as code

GitHub stars for Diagrams and the most-starred alternatives.
Show data as a table
GitHub stars
ToolStars
Mermaid91,143
Diagrams42,818
D225,859
PlantUML13,425
Markmap13,260
flowchart.js8,701
Penrose8,014

Alternatives to Diagrams

  • Mermaid

    Generate diagrams and flowcharts from markdown-like text definitions, with a live editor.

    91.1K starsTypeScriptMITDiagrams vs Mermaid

  • D2

    Declarative diagram scripting language that turns text into diagrams.

    25.9K starsGoMPL-2.0Diagrams vs D2

  • PlantUML

    Generates UML, Gantt, mind map and other diagrams from plain text.

    13.4K starsJavaLGPL-3.0Diagrams vs PlantUML

  • Markmap

    Builds interactive mind maps from Markdown.

    13.3K starsTypeScriptMITDiagrams vs Markmap

  • flowchart.js

    Draws SVG flowcharts from a textual description.

    8.7K starsJavaScriptMIT

  • Penrose

    Creates diagrams from mathematical notation in plain text, from Carnegie Mellon University.

    8K starsTypeScriptMIT

More comparisons: Diagrams vs Mermaid · D2 vs Diagrams · Diagrams vs PlantUML · Diagrams vs Markmap

Diagrams FAQ

Is Diagrams open source?

Yes. Diagrams is released under the MIT license, and its source code is on GitHub.

Is Diagrams still maintained?

Yes. Diagrams is actively developed, with 46 commits in the last 12 months and the latest commit 16 days ago.

How do I install Diagrams?

From PyPI: pip install diagrams.

What are the best alternatives to Diagrams?

The most popular alternatives listed in Diagrams as code are Mermaid, D2, and PlantUML. See the full ranking.

What language is Diagrams written in?

Diagrams is primarily written in Python, according to GitHub.

Data: GitHub API, PyPI. Updated Nov 18, 2026.