What’s in This Section
Detailed syntax and examples for:
-
Flowchart diagrams
-
Sequence diagrams
-
Class diagrams
-
State diagrams
-
ER diagrams
-
User journey diagrams
-
Git graph diagrams
-
Pie charts
-
Gantt charts
-
Quadrant charts
-
Requirement diagrams
-
C4 diagrams
-
Mindmaps
-
Timeline diagrams
-
Sankey diagrams
-
XY charts
-
Block diagrams
-
Architecture diagrams
-
Kanban boards
Plus additional specialized types:
-
Radar charts
-
Treemap diagrams
-
Packet diagrams
-
Info diagrams
-
Error diagrams
Diagram Type Documentation Format
Each diagram type page includes:
-
Overview - What the diagram type is for
-
Use cases - When to use this type
-
Syntax specification - Complete syntax reference
-
Elements - Available node/element types
-
Relationships - Connection and edge types
-
Examples - From basic to advanced
-
Features - Special capabilities
-
Limitations - Current constraints
-
Best practices - Recommended usage patterns
Quick Reference
| Diagram Type | Primary Use Case | Keyword |
|---|---|---|
Process flows and decision trees |
|
|
Message interactions over time |
|
|
Object-oriented design |
|
|
State machines |
|
|
Database design |
|
|
User experience flows |
|
|
Repository history |
|
|
Proportional data |
|
|
Project timelines |
|
|
Priority matrices |
|
|
Requirements traceability |
|
|
Software architecture |
|
|
Hierarchical ideas |
|
|
Historical events |
|
|
Flow quantities |
|
|
Data plotting |
|
|
Component relationships |
|
|
System architecture |
|
|
Workflow boards |
|
Choosing the Right Diagram Type
For Processes and Workflows
-
Flowchart - General process flows
-
Sequence - Time-based interactions
-
State - State transitions
-
User Journey - User experience flows
For Structure and Relationships
-
Class - Object relationships
-
ER Diagram - Data relationships
-
Block - Component relationships
-
Architecture - System structure
For Data Visualization
-
Pie Chart - Proportions
-
XY Chart - Data points
-
Sankey - Flow quantities
-
Quadrant - Priority/complexity matrices
Mermaid.js Compatibility
No diagram type has full parity with Mermaid.js; per-type corpus pass rates are on the compatibility page. See Compatibility Guide for detailed comparison.
Need Help?
-
Check Creating Your First Diagram (planned) tutorial
-
See Best Practices (planned) guide
-
Visit GitHub Issues for support