Skip to main content

Supported Diagram Types

The current application and MCP schema accept these twelve diagram types:

Diagram typePurpose
freeformGeneral-purpose diagrams without a fixed UML/C4 level.
flowchartProcesses and decisions — Mermaid flowchart.
classClasses, interfaces, enums and their relations — Mermaid classDiagram.
sequenceParticipants exchanging messages — Mermaid sequenceDiagram.
stateStates and transitions — Mermaid stateDiagram-v2.
erEntities and relationships — Mermaid erDiagram.
umlUML diagrams Mermaid has no family for (use case, activity, component, deployment).
c4-contextPeople and software systems at the highest C4 level.
c4-containerApplications, APIs, databases, queues, and containers within a system.
c4-componentComponents inside a container-level view.
c4-dynamicA C4 view of interactions between architecture elements.
c4-deploymentA C4 view of deployment infrastructure and instances.

Importing Mermaid sets the diagram type to the source's family, and exporting writes that family back. See Mermaid compatibility for import/export fidelity.

Drill-Down​

Context-to-container and container-to-component navigation follow the C4 hierarchy where supported. Nested diagrams keep their own components and connections. See Link model for optional semantic links between diagram instances.