Bold and multiline labels
Edit this formatted delivery flow in Mermaid, inspect the rendered result, and adapt the working source for your own documentation.
Editable State diagram example
Updated · Renders with Mermaid 11.17.2
Edit this background job state machine in Mermaid, inspect the rendered result, and adapt the working source for your own documentation.
This background job state machine example is designed as an editable starting point rather than a finished specification. In the rendered diagram, a queued job can complete or fail, while failed work can retry. Read the structure once before changing the source so identifiers, labels, and connections stay aligned. The example is intentionally small enough to test after every edit, but it includes the syntax needed to communicate the central relationship. Open it in mermaid.tools, make one change at a time, and keep the Mermaid source alongside exported images so the diagram remains maintainable.
stateDiagram-v2
[*] --> Queued
Queued --> Running
Running --> Completed
Running --> Failed
Failed --> Queued : retry
Completed --> [*]This example source is dedicated to the public domain under CC0 1.0. Review generated diagrams before relying on them in documentation.
Learn more in the related guide.
Edit this formatted delivery flow in Mermaid, inspect the rendered result, and adapt the working source for your own documentation.
Edit this notification interface model in Mermaid, inspect the rendered result, and adapt the working source for your own documentation.
Edit this three-tier company chart in Mermaid, inspect the rendered result, and adapt the working source for your own documentation.