Key differences

  • Mermaid has 62× as many GitHub stars as Graphviz (91.1K 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 91.1K
Commits, last 12 months
n/a 2.8K
Contributors
n/a 364
Forks
508 9.5K
Show data as a table
Graphviz vs Mermaid by the numbers
MetricGraphvizMermaid
GitHub stars1,47591,143
Commits, last 12 months–2,832
Contributors–364
Forks5089,510

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/examples@2.1.0 ()
Last commit
Repository created
Open issues–1,377
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.

    91.1K starsTypeScriptMIT

More comparisons