Edit Mermaid source and preview its selected diagram grammar.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Mermaid source is parsed into a diagram-specific abstract syntax tree, then a renderer converts nodes, edges, and labels into SVG. The leading diagram declaration selects a grammar such as flowchart, sequence, or class diagram.
graph TD
A[Start] --> B[Process]
B --> C[End]
SVG diagram with Start, Process, and End nodes connected top-to-bottom
Versioned documentation, architecture reviews, and teaching examples edit Mermaid diagrams.