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 README files

Tags

Similar software

PlantUML

Text-to-diagram tool for UML and related charts

PlantUML turns textual descriptions into UML and many other diagram types, with PNG, SVG, LaTeX, and EPS output options.

★ 13.4k⟳ todayLGPL-3.0

Pele

Lightweight Mermaid-to-SVG renderer with CSS theming

Pele turns Mermaid diagram text into SVG in the browser or Node, with no runtime dependencies and styling through CSS variables.

★ 4.9k⟳ 28 days agoMIT · open core

Excalidraw

Open-source collaborative whiteboard for hand-drawn style diagrams

Excalidraw is a virtual whiteboard for sketching diagrams and wireframes in a hand-drawn style. It offers an infinite canvas, real-time collaboration with end-to-end encryption, and is also published as an npm package for embedding.

★ 136.4k⟳ todayMIT
Open Source Alternative to:Miro

three.js

Cross-browser JavaScript library for 3D graphics

Three.js is a lightweight JavaScript 3D library for browsers. Default builds target WebGL and WebGPU, with optional SVG and CSS3D renderers as add-ons.

★ 119.5k⟳ todayMIT
Design & VisualizationDesktop/CLI app

Archify

Agent skill for interactive HTML diagrams and explainers

Archify is an open-source agent skill that turns descriptions, plans, or repositories into validated, self-contained interactive HTML maps and one-page explainers for Claude Code, Codex, Cursor, OpenCode, and Copilot.

★ 100.9k⟳ 2 days agoApache-2.0

Manim

Programmatic animation engine for explanatory math videos

ManimGL drives precise programmatic animations for explanatory math videos. The 3Blue1Brown variant installs via the manimgl package

★ 97k⟳ 2 months agoMIT
Frameworks & PlatformsDesktop/CLI app