Skip to main content
JobCannon
All Skills

Mermaid Diagram Code

🔥 Tier 2
Category
Tech
Salary Impact
Complexity
Easy
Used in
All careers

Mermaid is a JavaScript-based charting and diagramming tool that uses a markdown-like syntax to create diagrams as code. Instead of dragging shapes in Lucidchart or draw.io, you write text: graph TD; A-->B; becomes a flowchart. Mermaid supports flowcharts, UML (class, sequence, state), entity-relationship diagrams, Gantt charts, pie charts, and more. Diagrams defined in Mermaid syntax can be embedded in markdown, rendered by GitHub/GitLab, or included in web pages. Because diagrams are text, they version-control beautifully and can be reviewed in pull requests like code.