Mermaid (software)
Mermaid is an open-source JavaScript-based diagramming and charting software that generates diagrams from text-based descriptions. Created by Knut Sveidqvist in 2014, the project originated from a need to simplify diagram creation in documentation workflows after experiencing issues with proprietary software file formats.
Features
Mermaid allows users to create various types of diagrams using a Markdown-like syntax, including:- Flowcharts
- Sequence diagrams
- Class diagrams
- State diagrams
- Gantt charts
- Entity–relationship diagrams
History
Mermaid.js was created in 2014 by Swedish software architect Knut Sveidqvist to keep diagrams aligned with software documentation. Sveidqvist stated that the idea emerged after losing a Microsoft Visio file, which led him to pursue a text-based, Markdown-centric approach. The project name was inspired by The Little Mermaid, which his children were watching at the time.The project's goal is to describe diagrams in plain text kept in version control, helping documentation keep pace with development and addressing "doc-rot." A guidebook on Mermaid, The Official Guide to Mermaid.js, was published in 2021.
In 2022, Sveidqvist co-founded Mermaid Chart Inc., which offers hosted editing tools and enterprise features distinct from the open-source library. The company's hosted and enterprise offerings are proprietary open-core extensions, focusing on text-to-diagram workflows that support versioning, automation, and code review processes.
Integration
Mermaid is supported natively by several platforms and services:- Azure DevOps
- GitHub
- Gitea
- GitLab
- Joplin
- Tuleap
- Notion
- Obsidian
- Quarto
Development
In March 2024, the commercial entity raised $7.5 million in seed funding from investors including Open Core Ventures, Sequoia, and Microsoft's M12 fund.