head to head · open source

Mermaid vs graphic

Mermaid has 90,981 GitHub stars, 9,444 forks, 1,781 open issues and last shipped yesterday. graphic has 1,791 stars, 185 forks, 85 open issues and last shipped 8 months ago. Mermaid leads on adoption by 4,980% (90,981 vs 1,791 stars). Mermaid is written in TypeScript under MIT; graphic is written in Dart under MIT. Mermaid has attracted 10% as many forks as stars, graphic 10%. Mermaid was the more recently maintained of the two, and both are self-hostable with no licence fee.

Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.

Mermaid ★ 91K graphic ★ 1.8K category Data & Analytics

← all 20902 open source comparisons

Side by side

Mermaid graphic
GitHub stars ★ 91K ★ 1.8K
License MIT MIT
Written in TypeScript Dart
Last push 2026-11-02 2026-02-25
Forks ⑂ 9.4K ⑂ 185
Self-hosting Yes Yes
Data ownership Your server Your server

pick Mermaid if

  • You weight community size — 91K stars and counting
  • You want the MIT license terms
  • Your stack matches TypeScript
  • You value the larger contributor base for long-term maintenance

full Mermaid profile →

pick graphic if

  • You want the graphic feature set and don't need the biggest community
  • You prefer the MIT license terms
  • Your stack matches Dart
  • You evaluated both and graphic fits your workflow better

full graphic profile →

About Mermaid

Mermaid Generate diagrams from Markdown like text. Live Editor! 📖 Documentation 🚀 Getting Started 🌐 CDN 🙌 Join Us 简体中文 Try Live Editor previews of future releases: Develop Next :trophy: Mermaid was nominated and won the JS Open Source Awards (2019) in the category "The most exciting use of technology"!!! Thanks to all involved, people committing pull requests, people answering questions! 🙏 Table of content Expand contents About Examples Release Related projects Contributors Security and safe diagrams Reporting vulnerabilities Appreciation About Mermaid is a JavaScript based diagramming and charting tool…

read the full Mermaid overview →

About graphic

Graphic Graphic is a grammar of data visualization and Flutter charting library. Flexible declarative grammar : This visualization grammar derives from Leland Wilkinson's The Grammar of Graphics , and tries to balance between theoretical beauty and practicability. Data processing steps and mark shapes can be composed freely in a declarative specification, not limited to certain chart types. And shape draw methods are customizable. Interaction : With the event and selection definition, the chart is highly interactive, such as highlighting selected items, popping a tooltip, or scaling the coordinate. Animation…

read the full graphic overview →

More in Data & Analytics

Related comparisons

More Business Intelligence & Reporting projects

Compare either of these against the rest of the Business Intelligence & Reporting field.

Frequently asked questions

Is Mermaid or graphic more popular?

Mermaid has 90,981 GitHub stars and graphic has 1,791. Mermaid has the larger community by that measure.

Are Mermaid and graphic free?

Both are open source. Mermaid is licensed under MIT and graphic under MIT. Neither carries a licence fee.

What is the difference between Mermaid and graphic?

Mermaid is written in TypeScript and graphic in Dart. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.

Which should I choose, Mermaid or graphic?

Choose Mermaid if you want the larger community (90,981 stars) or its MIT licence terms. Choose graphic if its feature set, stack or MIT licence fits better. Both are self-hostable.