Key differences

  • Mermaid has 61× as many GitHub stars as Graphviz (90.5K vs 1.5K).
  • Graphviz is licensed under EPL-2.0; Mermaid under MIT.
  • Mermaid is the older project: its repository was created in 2014, Graphviz's in 2017.

By the numbers

  • Graphviz
  • Mermaid
GitHub stars
1.5K 90.5K
Commits, last 12 months
n/a 2.5K
Contributors
n/a 365
Forks
406 9.3K
Show data as a table
Graphviz vs Mermaid by the numbers
MetricGraphvizMermaid
GitHub stars1,47390,531
Commits, last 12 months–2,472
Contributors–365
Forks4069,322

Side by side

AttributeGraphvizMermaid
DescriptionOpen source graph visualization command line tool and library. From input text to SVG,PDF,interactive web graph browser.Generate diagrams and flowcharts from markdown-like text definitions, with a live editor.
CategoryData visualization apps & toolsDiagrams as code
LicenseEPL-2.0MIT
Language–TypeScript
StatusActiveActive
Latest release–@mermaid-js/tiny@12.1.0 ()
Last commit
Repository created
Open issues–1,482
Install–
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.

  • Graphviz

    Open source graph visualization command line tool and library. From input text to SVG,PDF,interactive web graph browser.

    1.5K starsEPL-2.0

  • Mermaid

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

    90.5K starsTypeScriptMIT

More comparisons