BPMN (Kroki XML)¶
For BPMN concepts, flow rules, and the BPMN guide, see the BPMN guide. For copy-paste prompts, a full tools/call JSON example, and a committed Kroki SVG, see BPMN prompts and SVG. This page shows a minimal BPMN 2.0 XML snippet you can pass to generate_uml with diagram_type: bpmn for rendering through Kroki.
Example¶
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL">
<bpmn:process id="Approval" isExecutable="true">
<bpmn:startEvent id="Start"/>
<bpmn:task id="Submit" name="Submit request"/>
<bpmn:endEvent id="End"/>
<bpmn:sequenceFlow sourceRef="Start" targetRef="Submit"/>
<bpmn:sequenceFlow sourceRef="Submit" targetRef="End"/>
</bpmn:process>
</bpmn:definitions>
Parameters¶
| Property | Value |
|---|---|
diagram_type | bpmn |
| Backend | BPMN (via Kroki) |
| Output formats | svg |