Skip to content
Development preview · 2.0.0-SNAPSHOT

Flow diagram examples

The Mermaid files in docs/examples/flow-diagrams illustrate branches, merges, and nested gateways. They are diagrams for reading and discussion, not executable TBBPM or BPMN definitions.

File Shows
sampleBranchMerge.mermaid Simple branch and merge
complexBranchMerge.mermaid Multiple branches and merges
simple4LevelGateway.mermaid Four sequential gateway levels
nested4LevelGateway.mermaid Four nested gateway levels
ultraComplexStructureFlow.mermaid Combined control-flow shapes

Open a file in a Mermaid-capable Markdown viewer. To render an SVG from the repository root:

Terminal window
pnpm dlx @mermaid-js/mermaid-cli@11.17.0 \
-i docs/examples/flow-diagrams/sampleBranchMerge.mermaid \
-o sampleBranchMerge.svg

When implementing a diagram, check the node support list and process format reference for supported nodes and transition rules.