Everything you need to create diagrams with Mermaid. This guide covers the flowchart header and directions (TD, LR, BT, RL), all 14 node shapes, the four edge types, edge labels, subgraphs, and styling with classDef.
It also documents the additional diagram types MermaidView renders: state diagrams (stateDiagram-v2), entity-relationship diagrams (erDiagram) with crow's-foot cardinality, and UML class diagrams (classDiagram) with inheritance, composition and association.