All 29 Mermaid Diagram Types in Confluence — Reference
Mermaid supports 29 diagram types — from flowcharts and sequence diagrams to C4 architecture, swimlanes, Gantt charts, ER diagrams, git graphs, and more. With Mermaid Plus for Confluence, all 29 render from plain text inside a single macro. This page is the complete reference: every type, its keyword, its category, when to use it, and worked examples for the ones a software team reaches for most.
- The full 29-type table — every type, keyword, and category at a glance
- When to use each type — flowchart vs sequence vs C4 vs ER vs state vs Gantt, with examples
- The types a sprint team actually uses — practical playbook for Jira and Confluence
- Beta types explained — sankey, packet, architecture, radar, swimlane, and more
If you are deciding which diagram type fits your use case, jump to When to use each Mermaid diagram type. For the quick reference table, see below. For installation and the macro basics, see Create Mermaid diagrams in Confluence.