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

PyPI
pip install diagrams
v0.25.1

Development activity

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

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

Popularity among Diagrams as code

GitHub stars for Diagrams and the most-starred alternatives.
Show data as a table
GitHub stars
ToolStars
Mermaid90,531
Diagrams42,673
D225,564
PlantUML13,352
Markmap13,147
flowchart.js8,700
Penrose7,985

Alternatives to Diagrams

  • Mermaid

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

    90.5K starsTypeScriptMITDiagrams vs Mermaid

  • D2

    Declarative diagram scripting language that turns text into diagrams.

    25.6K 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.1K 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 48 commits in the last 12 months and the latest commit 3 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 Oct 4, 2026.