Key differences

  • Mermaid has 2.1× as many GitHub stars as Diagrams (90.5K vs 42.7K).
  • Mermaid had more development activity over the last 12 months: 2,472 commits vs 48.
  • Both are released under the MIT license.
  • Diagrams is written primarily in Python, Mermaid in TypeScript.
  • Mermaid is the older project: its repository was created in 2014, Diagrams's in 2020.

By the numbers

  • Diagrams
  • Mermaid
GitHub stars
42.7K 90.5K
Commits, last 12 months
48 2.5K
Contributors
178 365
Forks
2.7K 9.3K
Show data as a table
Diagrams vs Mermaid by the numbers
MetricDiagramsMermaid
GitHub stars42,67390,531
Commits, last 12 months482,472
Contributors178365
Forks2,7329,322

Development activity

Commits per month to each default branch, last 12 complete months.

  • Diagrams
  • Mermaid
0200400600 Oct 2025 Nov Dec Jan 2026 Feb Mar Apr May Jun Jul Aug SepDiagramsMermaid
0200400600 Oct 2025 Jan 2026 Apr Jul DiagramsMermaid
Show data as a table
Diagrams vs Mermaid: commits per month
MonthDiagramsMermaid
Oct 2025663
Nov 20256143
Dec 2025161
Jan 2026189
Feb 20262186
Mar 20261230
Apr 20262277
May 20262435
Jun 20266327
Jul 2026375
Aug 202613331
Sep 20265255

Side by side

AttributeDiagramsMermaid
DescriptionDiagram as code in Python for prototyping cloud system architectures.Generate diagrams and flowcharts from markdown-like text definitions, with a live editor.
CategoryDiagrams as codeDiagrams as code
LicenseMITMIT
LanguagePythonTypeScript
StatusActiveActive
Latest releasev0.25.1 ()@mermaid-js/tiny@12.1.0 ()
Last commit
Repository created
Open issues3181,482
Install
pip install diagrams
npm install mermaid

Which should you choose?

Popularity and activity are only part of the story. Consider which ecosystem you work in, the chart types and interactions you need, how much data you render, and whether the license fits your project. Both tool pages list alternatives if neither is quite right.

  • Diagrams

    Diagram as code in Python for prototyping cloud system architectures.

    42.7K starsPythonMIT

  • Mermaid

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

    90.5K starsTypeScriptMIT

More comparisons