[Back to Course](/en/courses/prompt-engineering) Lessons

## Mermaid Diagram Reference

This page showcases 10 common Mermaid diagram types with examples relevant to prompt engineering and autonomous agents.

### 1\. Flowchart

Flowcharts show processes, workflows, and decision points:

100%

#### Extended example — multi-step agent deployment

100%

### 2\. Sequence Diagram

Sequence diagrams illustrate interactions between actors and systems over time:

100%

#### Extended example — multi-agent handoff

100%

### 3\. State Diagram

State diagrams model the lifecycle of a system or process:

100%

#### Extended example — full agent lifecycle

100%

### 4\. Mindmap

Mindmaps organize hierarchical information around a central topic:

100%

#### Extended example — full product hierarchy

100%

### 5\. Pie Chart

Pie charts display proportional data distributions:

100%

#### Extended example — LLM provider distribution

100%

### 6\. Class Diagram

Class diagrams model the structure of a system showing classes, attributes, and relationships:

100%

#### Extended example — full platform class model

100%

### 7\. Entity Relationship Diagram

ER diagrams represent data entities and their relationships:

100%

#### Extended example — full database schema

100%

### 8\. Git Branch Diagram

Gitgraph diagrams visualize branching and merging strategies:

100%

#### Extended example — multi-branch release workflow

100%

### 9\. Timeline

Timelines display events chronologically:

100%

#### Extended example — full platform roadmap

100%

### 10\. Gantt Chart

Gantt charts illustrate project schedules and task dependencies:

100%

#### Extended example — product development roadmap

100%
