Class Diagram
OO class structure with inheritance, composition, interfaces.
View example and source Edit in StudioCompatible with Mermaid 11
Versatile text-to-diagram language. Renders flowcharts, sequence, class, ER, state, gantt, mindmap, sankey, C4, packet, architecture, kanban, radar, treemap, venn, wardley, eventmodeling and 30+ more. Paste any Mermaid snippet — fully compatible.

Most users come to Mermaid from Lucidchart or draw.io. flowss runs this engine in the browser — no install, shareable via URL, exportable to PNG / SVG / PDF / source.
flowchart LR
A[Start] --> B{Decide}
B -->|yes| C[Do thing]
B -->|no| D[End]Paste this in the Studio code pane to see Mermaid render live. The full grammar is at the upstream-docs link above.
OO class structure with inheritance, composition, interfaces.
View example and source Edit in StudioInteraction between actors and systems over time.
View example and source Edit in StudioFinite state machine with composite states and transitions.
View example and source Edit in StudioActors and the use cases they participate in.
View example and source Edit in StudioWorkflow of activities with decisions and parallelism.
View example and source Edit in StudioHigh-level software components and their interfaces.
View example and source Edit in Studiomermaid · ← Browse all engines · Quick-start guide