Explore 18 Mermaid diagram types with editable source and worked examples. Choose a flowchart, sequence, ER, Gantt or data visualization.
Choose a diagram type around the question your reader needs to answer. A flowchart explains steps and decisions, a sequence diagram explains messages over time, and a ER diagram explains data relationships. These views describe different aspects of a system rather than interchangeable drawing styles.
For planning, compare task durations in a Gantt chart or arrange milestones on a timeline. For numeric data, choose a chart whose axes, areas or flow widths have a clear meaning. Every example below includes editable source and interpretation notes. Replace illustrative values with your own data, then check labels and relationships before exporting a diagram for a document or presentation.