API request
Edit this API request lifecycle in Mermaid, inspect the rendered result, and adapt the working source for your own documentation.
Editable Flowchart example
Updated · Renders with Mermaid 11.17.2
Edit this approval request workflow in Mermaid, inspect the rendered result, and adapt the working source for your own documentation.
This approval request workflow example is designed as an editable starting point rather than a finished specification. In the rendered diagram, a request returns for revision until a reviewer approves it. 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.
flowchart TD
A[Submit request] --> B{Approved?}
B -->|Yes| C[Schedule work]
B -->|No| D[Revise request]
D --> AThis 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 API request lifecycle in Mermaid, inspect the rendered result, and adapt the working source for your own documentation.
Edit this small team reporting structure in Mermaid, inspect the rendered result, and adapt the working source for your own documentation.
Edit this order data model in Mermaid, inspect the rendered result, and adapt the working source for your own documentation.