PELE EDITOR

Mermaid Diagram Types & Examples

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.

Software and systems

Mermaid Architecture Diagram: Syntax & Examples

Explore Mermaid architecture syntax with an editable service diagram. Understand groups, connection endpoints and the boundaries of an architecture view.

Mermaid Block Diagram: Syntax & Examples

Learn Mermaid block diagram syntax with a grid-based example. Arrange components and spans, then distinguish grouping from process flow.

Mermaid Class Diagram: Syntax & Examples

Learn Mermaid class diagram syntax with attributes, methods and associations. Compare relationship types and edit a working example in your browser.

Mermaid ER Diagram: Syntax & Examples

Explore Mermaid ER syntax with entities, key markers and cardinality. Read a customer-order example, then edit and preview the data model.

Mermaid Flowchart: Syntax & Examples

Learn Mermaid flowchart syntax with nodes, arrows and labeled decisions. Edit a request-processing example and review branches before exporting.

Mermaid Git Graph: Syntax & Examples

Learn Mermaid Git graph syntax for commits, branches and merges. Follow an example history and distinguish the diagram from real Git operations.

Mermaid Packet Diagram: Syntax & Examples

Document bit fields with Mermaid packet syntax. Edit a header example, check ranges and units, and distinguish a format diagram from packet analysis.

Mermaid Sequence Diagram: Syntax & Examples

Learn Mermaid sequence syntax with participants, messages and alternatives. Edit an API request example and distinguish event order from measured time.

Mermaid State Diagram: Syntax & Examples

Explore Mermaid state syntax with lifecycle events and transitions. Read an editable example, inspect boundaries and check missing failure paths.

Planning

Data

Ideas and stories