Key differences

  • Mermaid has 62× as many GitHub stars as Graphviz (91K 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 91K
Commits, last 12 months
n/a 2.8K
Contributors
n/a 366
Forks
470 9.5K
Show data as a table
Graphviz vs Mermaid by the numbers
MetricGraphvizMermaid
GitHub stars1,47591,029
Commits, last 12 months–2,795
Contributors–366
Forks4709,460

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.3.0 ()
Last commit
Repository created
Open issues–1,558
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.

    91K starsTypeScriptMIT

More comparisons