qmetrics.net

Mermaid

Text-defined diagrams from Markdown-like syntax

Mermaid screenshot

Mermaid turns plain-text diagram definitions into flowcharts, sequence charts, Gantt charts, and many other diagram types. It renders in browsers, documentation tools, and GitHub Markdown.

Overview

Mermaid is a JavaScript diagramming tool that reads Markdown-inspired text and renders it into visual diagrams. The goal is to keep documentation diagrams easy to edit alongside code so they are less likely to drift out of date. Diagrams remain text, which makes version control diffs and reviews practical compared with binary drawing files.

The project supports more than twenty diagram types, including flowcharts, sequence diagrams, class and state diagrams, entity-relationship diagrams, Gantt and pie charts, git graphs, mind maps, timelines, Sankey diagrams, user journeys, and C4 diagrams. Themes, colors, fonts, and layout direction can be customized. A Live Editor on the web lets authors preview and tweak definitions without a separate design application.

Mermaid is distributed as a library developers import into applications, and it integrates with many documentation and collaboration products. GitHub renders fenced Mermaid blocks in Markdown natively. Built-in sanitization and an optional sandboxed iframe rendering mode address risks when untrusted users supply diagram source on public sites.

Because it is a library rather than a hosted application, teams embed the renderer in their own sites, docs pipelines, or scripts. Non-programmers can still author diagrams through the Live Editor or integrated editors listed in the project’s integration documentation.

Key features

  • Twenty-plus diagram types
  • Markdown-inspired text syntax
  • Themes and layout customization
  • GitHub Markdown code block rendering
  • Mermaid Live Editor for previews
  • Built-in input sanitization
  • Sandboxed iframe rendering mode
  • Wide third-party integrations

Use cases

  • Architecture flowcharts in docs
  • Sequence diagrams for API design
  • Gantt charts for project plans
  • ER diagrams in technical wikis
  • Mind maps and timelines in documentation files

Does the same job as

Mermaid doesn't name these products itself, but its own description shows it does the same job.

Tags

Similar software

Chart.js

Flexible JavaScript charting library for HTML5 canvas

Chart.js draws animated, customizable charts in the browser using JavaScript and the canvas element, aimed at designers and developers.

  • Multiple animated chart types
  • HTML5 canvas rendering
  • Responsive resize handling
JavaScriptDetails →
★ 67.9k⟳ 4 days agoMIT

xyflow

Node-based UI libraries for React, Svelte, and Vue

xyflow maintains React Flow, Svelte Flow, and Vue Flow—libraries for building customizable node-based editors and interactive diagrams in those frameworks.

  • React, Svelte, and Vue graph libraries
  • Shared @xyflow/system utilities
  • Customizable nodes and edges
TypeScriptDetails →
★ 39.3k⟳ yesterdayMIT

MPAndroidChart

Android and Compose charting library for mobile apps

MPAndroidChart is a Kotlin charting library for Android apps. It draws line, bar, pie, radar, bubble, candlestick, and related chart types in traditional views or Jetpack Compose.

  • Nine chart types with shared data model
  • Jetpack Compose module with chart state
  • Zoom, drag, highlight, and markers
KotlinAndroidDetails →
★ 38.2k⟳ 1 month agoApache-2.0

Recharts

Composable React chart library built on SVG and D3

Recharts helps React apps render charts from declarative components such as axes, grids, legends, and series. It targets native SVG output with a small D3 footprint and installs via npm, Deno, or UMD.

  • Declarative React chart components
  • SVG-based rendering
  • Lightweight D3 submodule usage
TypeScriptDetails →
★ 27.9k⟳ todayMIT

Motion Canvas

TypeScript animation library with web sync editor

Motion Canvas pairs a TypeScript animation library with a browser editor for live previews. It targets informative vector animations timed to voice-overs.

  • Generator-based animation API
  • Real-time preview in editor
  • Voice-over synchronization
TypeScriptWebDetails →
★ 20.7k⟳ 5 months agoMIT

Bokeh

Python library for interactive browser-based charts and dashboards

Bokeh builds interactive plots, layouts, and data apps in Python that render in modern browsers, with streaming updates, widgets, and optional server callbacks.

  • High- and low-level plotting APIs
  • Pan, zoom, hover, and linked brushing
  • Streaming and patched data sources
TypeScriptWebDetails →
★ 20.5k⟳ todayBSD-3-Clause