@blackbelt-technology/pi-dashboard-forms-bpmn 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/.pi/skills/bpmn-package-explorer/SKILL.md +120 -0
  2. package/.pi/skills/bpmn-package-explorer/assets/LICENSE.bpmn-io.txt +23 -0
  3. package/.pi/skills/bpmn-package-explorer/assets/VENDORED.md +90 -0
  4. package/.pi/skills/bpmn-package-explorer/assets/bpmn-js/bpmn-font/css/bpmn-codes.css +108 -0
  5. package/.pi/skills/bpmn-package-explorer/assets/bpmn-js/bpmn-font/css/bpmn-embedded.css +166 -0
  6. package/.pi/skills/bpmn-package-explorer/assets/bpmn-js/bpmn-font/css/bpmn.css +164 -0
  7. package/.pi/skills/bpmn-package-explorer/assets/bpmn-js/bpmn-font/font/bpmn.eot +0 -0
  8. package/.pi/skills/bpmn-package-explorer/assets/bpmn-js/bpmn-font/font/bpmn.svg +224 -0
  9. package/.pi/skills/bpmn-package-explorer/assets/bpmn-js/bpmn-font/font/bpmn.ttf +0 -0
  10. package/.pi/skills/bpmn-package-explorer/assets/bpmn-js/bpmn-font/font/bpmn.woff +0 -0
  11. package/.pi/skills/bpmn-package-explorer/assets/bpmn-js/bpmn-font/font/bpmn.woff2 +0 -0
  12. package/.pi/skills/bpmn-package-explorer/assets/bpmn-js/bpmn-navigated-viewer.production.min.js +22 -0
  13. package/.pi/skills/bpmn-package-explorer/assets/bpmn-js/bpmn.css +145 -0
  14. package/.pi/skills/bpmn-package-explorer/assets/bpmn-js/diagram-js.css +1249 -0
  15. package/.pi/skills/bpmn-package-explorer/assets/dmn-js/diagram-js.css +1133 -0
  16. package/.pi/skills/bpmn-package-explorer/assets/dmn-js/dmn-font/css/dmn-codes.css +41 -0
  17. package/.pi/skills/bpmn-package-explorer/assets/dmn-js/dmn-font/css/dmn-embedded.css +98 -0
  18. package/.pi/skills/bpmn-package-explorer/assets/dmn-js/dmn-font/css/dmn.css +97 -0
  19. package/.pi/skills/bpmn-package-explorer/assets/dmn-js/dmn-font/font/dmn.eot +0 -0
  20. package/.pi/skills/bpmn-package-explorer/assets/dmn-js/dmn-font/font/dmn.svg +90 -0
  21. package/.pi/skills/bpmn-package-explorer/assets/dmn-js/dmn-font/font/dmn.ttf +0 -0
  22. package/.pi/skills/bpmn-package-explorer/assets/dmn-js/dmn-font/font/dmn.woff +0 -0
  23. package/.pi/skills/bpmn-package-explorer/assets/dmn-js/dmn-font/font/dmn.woff2 +0 -0
  24. package/.pi/skills/bpmn-package-explorer/assets/dmn-js/dmn-js-decision-table.css +580 -0
  25. package/.pi/skills/bpmn-package-explorer/assets/dmn-js/dmn-js-drd.css +108 -0
  26. package/.pi/skills/bpmn-package-explorer/assets/dmn-js/dmn-js-literal-expression.css +165 -0
  27. package/.pi/skills/bpmn-package-explorer/assets/dmn-js/dmn-js-shared.css +221 -0
  28. package/.pi/skills/bpmn-package-explorer/assets/dmn-js/dmn-viewer.production.min.js +16 -0
  29. package/.pi/skills/bpmn-package-explorer/assets/lib/bpmn-pipeline.mjs +6981 -0
  30. package/.pi/skills/bpmn-package-explorer/assets/lib/yaml.mjs +7372 -0
  31. package/.pi/skills/bpmn-package-explorer/fixtures/geometry/g1-identical-bounds.bpmn +17 -0
  32. package/.pi/skills/bpmn-package-explorer/fixtures/geometry/g2-zero-size.bpmn +17 -0
  33. package/.pi/skills/bpmn-package-explorer/fixtures/geometry/g3-child-outside.bpmn +16 -0
  34. package/.pi/skills/bpmn-package-explorer/fixtures/geometry/g4-negative-coord.bpmn +17 -0
  35. package/.pi/skills/bpmn-package-explorer/fixtures/geometry/g5-overlap.bpmn +17 -0
  36. package/.pi/skills/bpmn-package-explorer/fixtures/measured/1-linear.bpmn +12 -0
  37. package/.pi/skills/bpmn-package-explorer/fixtures/measured/2-gateway.bpmn +19 -0
  38. package/.pi/skills/bpmn-package-explorer/fixtures/measured/3-boundary.bpmn +13 -0
  39. package/.pi/skills/bpmn-package-explorer/fixtures/measured/4-subprocess.bpmn +17 -0
  40. package/.pi/skills/bpmn-package-explorer/fixtures/measured/5-pools.bpmn +21 -0
  41. package/.pi/skills/bpmn-package-explorer/fixtures/measured/6-lanes-only.bpmn +16 -0
  42. package/.pi/skills/bpmn-package-explorer/fixtures/measured/7-loop.bpmn +13 -0
  43. package/.pi/skills/bpmn-package-explorer/fixtures/measured/8-long-chain.bpmn +32 -0
  44. package/.pi/skills/bpmn-package-explorer/fixtures/nesting/expanded-subprocess-ok.bpmn +25 -0
  45. package/.pi/skills/bpmn-package-explorer/fixtures/provisional/call-activity.bpmn +10 -0
  46. package/.pi/skills/bpmn-package-explorer/fixtures/provisional/intermediate-catch.bpmn +10 -0
  47. package/.pi/skills/bpmn-package-explorer/fixtures/provisional/intermediate-throw.bpmn +10 -0
  48. package/.pi/skills/bpmn-package-explorer/fixtures/provisional/manual-task.bpmn +10 -0
  49. package/.pi/skills/bpmn-package-explorer/fixtures/provisional/multi-boundary.bpmn +16 -0
  50. package/.pi/skills/bpmn-package-explorer/fixtures/provisional/parallel-gateway.bpmn +10 -0
  51. package/.pi/skills/bpmn-package-explorer/fixtures/provisional/receive-task.bpmn +10 -0
  52. package/.pi/skills/bpmn-package-explorer/fixtures/provisional/rule-task.bpmn +10 -0
  53. package/.pi/skills/bpmn-package-explorer/fixtures/provisional/script-task.bpmn +10 -0
  54. package/.pi/skills/bpmn-package-explorer/fixtures/provisional/send-task.bpmn +10 -0
  55. package/.pi/skills/bpmn-package-explorer/references/authoring-envelope.md +52 -0
  56. package/.pi/skills/bpmn-package-explorer/references/identifiers.md +102 -0
  57. package/.pi/skills/bpmn-package-explorer/references/layout-envelope.md +105 -0
  58. package/.pi/skills/bpmn-package-explorer/references/licensing.md +48 -0
  59. package/.pi/skills/bpmn-package-explorer/references/package-manifest.md +104 -0
  60. package/.pi/skills/bpmn-package-explorer/scripts/build-fixtures.mjs +299 -0
  61. package/.pi/skills/bpmn-package-explorer/scripts/demo.mjs +128 -0
  62. package/.pi/skills/bpmn-package-explorer/scripts/diagnostics.mjs +37 -0
  63. package/.pi/skills/bpmn-package-explorer/scripts/envelope.mjs +160 -0
  64. package/.pi/skills/bpmn-package-explorer/scripts/fixtures.mjs +140 -0
  65. package/.pi/skills/bpmn-package-explorer/scripts/generate-cli.mjs +31 -0
  66. package/.pi/skills/bpmn-package-explorer/scripts/generate.mjs +103 -0
  67. package/.pi/skills/bpmn-package-explorer/scripts/guard.mjs +335 -0
  68. package/.pi/skills/bpmn-package-explorer/scripts/harness.mjs +12 -0
  69. package/.pi/skills/bpmn-package-explorer/scripts/identifiers.mjs +117 -0
  70. package/.pi/skills/bpmn-package-explorer/scripts/ingest.mjs +95 -0
  71. package/.pi/skills/bpmn-package-explorer/scripts/manifest.mjs +374 -0
  72. package/.pi/skills/bpmn-package-explorer/scripts/pipeline.mjs +49 -0
  73. package/.pi/skills/bpmn-package-explorer/scripts/render.mjs +130 -0
  74. package/.pi/skills/bpmn-package-explorer/scripts/runguard.mjs +38 -0
  75. package/.pi/skills/bpmn-package-explorer/scripts/selftest-e2e.mjs +87 -0
  76. package/.pi/skills/bpmn-package-explorer/scripts/selftest-guard.mjs +99 -0
  77. package/.pi/skills/bpmn-package-explorer/scripts/selftest-manifest.mjs +170 -0
  78. package/.pi/skills/bpmn-package-explorer/scripts/selftest-more.mjs +87 -0
  79. package/.pi/skills/bpmn-package-explorer/scripts/selftest-workflow.mjs +73 -0
  80. package/.pi/skills/bpmn-package-explorer/scripts/selftest.mjs +57 -0
  81. package/.pi/skills/bpmn-package-explorer/scripts/vendor.mjs +141 -0
  82. package/.pi/skills/bpmn-package-explorer/scripts/view-cli.mjs +19 -0
  83. package/.pi/skills/bpmn-package-explorer/templates/shell.html +141 -0
  84. package/.pi/skills/bpmn-package-explorer/templates/viewer.js +301 -0
  85. package/.pi/skills/canvas-webapp/SKILL.md +104 -0
  86. package/.pi/skills/openforms-mui/SKILL.md +187 -0
  87. package/.pi/skills/openforms-mui/references/a11y.md +68 -0
  88. package/.pi/skills/openforms-mui/references/field-widget-map.md +64 -0
  89. package/.pi/skills/openforms-mui/references/hu-locale.md +45 -0
  90. package/.pi/skills/openforms-mui/references/logic.md +94 -0
  91. package/.pi/skills/openforms-mui/references/schema.md +94 -0
  92. package/.pi/skills/openforms-mui/references/theme-bridge.md +65 -0
  93. package/.pi/skills/openforms-mui/tools/canvas-serve.mjs +51 -0
  94. package/.pi/skills/openforms-mui/tools/demo-schema.json +80 -0
  95. package/.pi/skills/openforms-mui/tools/mockups/tokens.css +27 -0
  96. package/.pi/skills/openforms-mui/tools/mockups/ui-contract.tokens.json +16 -0
  97. package/.pi/skills/openforms-mui/tools/package-lock.json +5919 -0
  98. package/.pi/skills/openforms-mui/tools/package.json +61 -0
  99. package/.pi/skills/openforms-mui/tools/preview/RenderPanel.tsx +105 -0
  100. package/.pi/skills/openforms-mui/tools/preview/canvas-app.tsx +66 -0
  101. package/.pi/skills/openforms-mui/tools/preview/canvas-index.html +16 -0
  102. package/.pi/skills/openforms-mui/tools/preview/cli.ts +99 -0
  103. package/.pi/skills/openforms-mui/tools/preview/index.html +17 -0
  104. package/.pi/skills/openforms-mui/tools/preview/main.tsx +228 -0
  105. package/.pi/skills/openforms-mui/tools/preview/vite-plugin.ts +41 -0
  106. package/.pi/skills/openforms-mui/tools/scripts/assert-peer-deps.mjs +39 -0
  107. package/.pi/skills/openforms-mui/tools/src/OpenFormsMui.tsx +391 -0
  108. package/.pi/skills/openforms-mui/tools/src/css.d.ts +2 -0
  109. package/.pi/skills/openforms-mui/tools/src/fields/ErrorSummary.tsx +72 -0
  110. package/.pi/skills/openforms-mui/tools/src/fields/FieldRenderer.tsx +328 -0
  111. package/.pi/skills/openforms-mui/tools/src/fields/FieldShell.tsx +50 -0
  112. package/.pi/skills/openforms-mui/tools/src/fields/FileField.tsx +91 -0
  113. package/.pi/skills/openforms-mui/tools/src/fields/MatrixField.tsx +146 -0
  114. package/.pi/skills/openforms-mui/tools/src/fields/RepeaterField.tsx +82 -0
  115. package/.pi/skills/openforms-mui/tools/src/fields/SignatureCanvas.tsx +121 -0
  116. package/.pi/skills/openforms-mui/tools/src/fields/context.tsx +34 -0
  117. package/.pi/skills/openforms-mui/tools/src/fields/index.ts +7 -0
  118. package/.pi/skills/openforms-mui/tools/src/fields/label.ts +42 -0
  119. package/.pi/skills/openforms-mui/tools/src/fonts.ts +8 -0
  120. package/.pi/skills/openforms-mui/tools/src/i18n/dictionary.ts +58 -0
  121. package/.pi/skills/openforms-mui/tools/src/i18n/hu.ts +56 -0
  122. package/.pi/skills/openforms-mui/tools/src/i18n/index.ts +43 -0
  123. package/.pi/skills/openforms-mui/tools/src/index.ts +27 -0
  124. package/.pi/skills/openforms-mui/tools/src/logic/cnf.ts +206 -0
  125. package/.pi/skills/openforms-mui/tools/src/logic/formula.ts +285 -0
  126. package/.pi/skills/openforms-mui/tools/src/logic/index.ts +4 -0
  127. package/.pi/skills/openforms-mui/tools/src/logic/operators.ts +43 -0
  128. package/.pi/skills/openforms-mui/tools/src/logic/state.ts +183 -0
  129. package/.pi/skills/openforms-mui/tools/src/payload.ts +83 -0
  130. package/.pi/skills/openforms-mui/tools/src/provenance.ts +21 -0
  131. package/.pi/skills/openforms-mui/tools/src/schema/diagnose.ts +256 -0
  132. package/.pi/skills/openforms-mui/tools/src/schema/index.ts +4 -0
  133. package/.pi/skills/openforms-mui/tools/src/schema/normalize.ts +163 -0
  134. package/.pi/skills/openforms-mui/tools/src/schema/types.ts +299 -0
  135. package/.pi/skills/openforms-mui/tools/src/schema/walk.ts +68 -0
  136. package/.pi/skills/openforms-mui/tools/src/theme/from-tokens.ts +102 -0
  137. package/.pi/skills/openforms-mui/tools/src/theme/index.ts +1 -0
  138. package/.pi/skills/openforms-mui/tools/src/validation/constrain.ts +83 -0
  139. package/.pi/skills/openforms-mui/tools/src/validation/diagnostics.ts +62 -0
  140. package/.pi/skills/openforms-mui/tools/src/validation/empty.ts +53 -0
  141. package/.pi/skills/openforms-mui/tools/src/validation/index.ts +5 -0
  142. package/.pi/skills/openforms-mui/tools/src/validation/resolver.ts +14 -0
  143. package/.pi/skills/openforms-mui/tools/src/validation/zod-from-schema.ts +169 -0
  144. package/.pi/skills/openforms-mui/tools/tests/a11y.test.tsx +82 -0
  145. package/.pi/skills/openforms-mui/tools/tests/cli.test.ts +74 -0
  146. package/.pi/skills/openforms-mui/tools/tests/component.test.tsx +295 -0
  147. package/.pi/skills/openforms-mui/tools/tests/diagnose.test.ts +163 -0
  148. package/.pi/skills/openforms-mui/tools/tests/fixtures/all-field-types.json +45 -0
  149. package/.pi/skills/openforms-mui/tools/tests/logic.test.ts +175 -0
  150. package/.pi/skills/openforms-mui/tools/tests/normalize.test.ts +105 -0
  151. package/.pi/skills/openforms-mui/tools/tests/reference-semantics.test.ts +131 -0
  152. package/.pi/skills/openforms-mui/tools/tests/responsive.test.tsx +158 -0
  153. package/.pi/skills/openforms-mui/tools/tests/setup.ts +16 -0
  154. package/.pi/skills/openforms-mui/tools/tests/singleton.test.tsx +31 -0
  155. package/.pi/skills/openforms-mui/tools/tests/theme.test.ts +65 -0
  156. package/.pi/skills/openforms-mui/tools/tests/toolchain.test.ts +33 -0
  157. package/.pi/skills/openforms-mui/tools/tests/validation.test.ts +222 -0
  158. package/.pi/skills/openforms-mui/tools/tsconfig.json +21 -0
  159. package/.pi/skills/openforms-mui/tools/vite.canvas.config.ts +21 -0
  160. package/.pi/skills/openforms-mui/tools/vitest.config.ts +17 -0
  161. package/NOTICE +46 -0
  162. package/README.md +62 -0
  163. package/package.json +46 -0
  164. package/scripts/ensure-openforms-deps.mjs +38 -0
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_g1" isExecutable="false">
4
+ <bpmn:startEvent id="Start_g"><bpmn:outgoing>Flow_g1</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:task id="Activity_a" name="A"><bpmn:incoming>Flow_g1</bpmn:incoming><bpmn:outgoing>Flow_g2</bpmn:outgoing></bpmn:task>
6
+ <bpmn:task id="Activity_b" name="B"><bpmn:incoming>Flow_g2</bpmn:incoming></bpmn:task>
7
+ <bpmn:sequenceFlow id="Flow_g1" sourceRef="Start_g" targetRef="Activity_a"/>
8
+ <bpmn:sequenceFlow id="Flow_g2" sourceRef="Activity_a" targetRef="Activity_b"/>
9
+ </bpmn:process>
10
+ <bpmndi:BPMNDiagram id="Dia_1"><bpmndi:BPMNPlane id="Plane_1" bpmnElement="Process_g1">
11
+ <bpmndi:BPMNShape id="Start_g_di" bpmnElement="Start_g"><dc:Bounds x="100" y="100" width="36" height="36"/></bpmndi:BPMNShape>
12
+ <bpmndi:BPMNShape id="Activity_a_di" bpmnElement="Activity_a"><dc:Bounds x="200" y="80" width="100" height="80"/></bpmndi:BPMNShape>
13
+ <bpmndi:BPMNShape id="Activity_b_di" bpmnElement="Activity_b"><dc:Bounds x="200" y="80" width="100" height="80"/></bpmndi:BPMNShape>
14
+ <bpmndi:BPMNEdge id="Flow_g1_di" bpmnElement="Flow_g1"><di:waypoint x="136" y="118"/><di:waypoint x="200" y="120"/></bpmndi:BPMNEdge>
15
+ <bpmndi:BPMNEdge id="Flow_g2_di" bpmnElement="Flow_g2"><di:waypoint x="300" y="120"/><di:waypoint x="200" y="120"/></bpmndi:BPMNEdge>
16
+ </bpmndi:BPMNPlane></bpmndi:BPMNDiagram>
17
+ </bpmn:definitions>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_g2" isExecutable="false">
4
+ <bpmn:startEvent id="Start_g"><bpmn:outgoing>Flow_g1</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:task id="Activity_a" name="A"><bpmn:incoming>Flow_g1</bpmn:incoming><bpmn:outgoing>Flow_g2</bpmn:outgoing></bpmn:task>
6
+ <bpmn:task id="Activity_b" name="B"><bpmn:incoming>Flow_g2</bpmn:incoming></bpmn:task>
7
+ <bpmn:sequenceFlow id="Flow_g1" sourceRef="Start_g" targetRef="Activity_a"/>
8
+ <bpmn:sequenceFlow id="Flow_g2" sourceRef="Activity_a" targetRef="Activity_b"/>
9
+ </bpmn:process>
10
+ <bpmndi:BPMNDiagram id="Dia_1"><bpmndi:BPMNPlane id="Plane_1" bpmnElement="Process_g2">
11
+ <bpmndi:BPMNShape id="Start_g_di" bpmnElement="Start_g"><dc:Bounds x="100" y="100" width="36" height="36"/></bpmndi:BPMNShape>
12
+ <bpmndi:BPMNShape id="Activity_a_di" bpmnElement="Activity_a"><dc:Bounds x="200" y="80" width="0" height="80"/></bpmndi:BPMNShape>
13
+ <bpmndi:BPMNShape id="Activity_b_di" bpmnElement="Activity_b"><dc:Bounds x="360" y="80" width="100" height="80"/></bpmndi:BPMNShape>
14
+ <bpmndi:BPMNEdge id="Flow_g1_di" bpmnElement="Flow_g1"><di:waypoint x="136" y="118"/><di:waypoint x="200" y="120"/></bpmndi:BPMNEdge>
15
+ <bpmndi:BPMNEdge id="Flow_g2_di" bpmnElement="Flow_g2"><di:waypoint x="300" y="120"/><di:waypoint x="360" y="120"/></bpmndi:BPMNEdge>
16
+ </bpmndi:BPMNPlane></bpmndi:BPMNDiagram>
17
+ </bpmn:definitions>
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_g3" isExecutable="false">
4
+ <bpmn:startEvent id="Start_g3"><bpmn:outgoing>Flow_x</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:subProcess id="Activity_container" name="Container">
6
+ <bpmn:task id="Activity_child" name="Child"/>
7
+ </bpmn:subProcess>
8
+ <bpmn:sequenceFlow id="Flow_x" sourceRef="Start_g3" targetRef="Activity_container"/>
9
+ </bpmn:process>
10
+ <bpmndi:BPMNDiagram id="Dia_1"><bpmndi:BPMNPlane id="Plane_1" bpmnElement="Process_g3">
11
+ <bpmndi:BPMNShape id="Start_g3_di" bpmnElement="Start_g3"><dc:Bounds x="100" y="300" width="36" height="36"/></bpmndi:BPMNShape>
12
+ <bpmndi:BPMNShape id="Activity_container_di" bpmnElement="Activity_container" isExpanded="true"><dc:Bounds x="200" y="200" width="100" height="80"/></bpmndi:BPMNShape>
13
+ <bpmndi:BPMNShape id="Activity_child_di" bpmnElement="Activity_child"><dc:Bounds x="500" y="500" width="100" height="80"/></bpmndi:BPMNShape>
14
+ <bpmndi:BPMNEdge id="Flow_x_di" bpmnElement="Flow_x"><di:waypoint x="136" y="318"/><di:waypoint x="200" y="240"/></bpmndi:BPMNEdge>
15
+ </bpmndi:BPMNPlane></bpmndi:BPMNDiagram>
16
+ </bpmn:definitions>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_g4" isExecutable="false">
4
+ <bpmn:startEvent id="Start_g"><bpmn:outgoing>Flow_g1</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:task id="Activity_a" name="A"><bpmn:incoming>Flow_g1</bpmn:incoming><bpmn:outgoing>Flow_g2</bpmn:outgoing></bpmn:task>
6
+ <bpmn:task id="Activity_b" name="B"><bpmn:incoming>Flow_g2</bpmn:incoming></bpmn:task>
7
+ <bpmn:sequenceFlow id="Flow_g1" sourceRef="Start_g" targetRef="Activity_a"/>
8
+ <bpmn:sequenceFlow id="Flow_g2" sourceRef="Activity_a" targetRef="Activity_b"/>
9
+ </bpmn:process>
10
+ <bpmndi:BPMNDiagram id="Dia_1"><bpmndi:BPMNPlane id="Plane_1" bpmnElement="Process_g4">
11
+ <bpmndi:BPMNShape id="Start_g_di" bpmnElement="Start_g"><dc:Bounds x="-50" y="100" width="36" height="36"/></bpmndi:BPMNShape>
12
+ <bpmndi:BPMNShape id="Activity_a_di" bpmnElement="Activity_a"><dc:Bounds x="200" y="80" width="100" height="80"/></bpmndi:BPMNShape>
13
+ <bpmndi:BPMNShape id="Activity_b_di" bpmnElement="Activity_b"><dc:Bounds x="360" y="80" width="100" height="80"/></bpmndi:BPMNShape>
14
+ <bpmndi:BPMNEdge id="Flow_g1_di" bpmnElement="Flow_g1"><di:waypoint x="-14" y="118"/><di:waypoint x="200" y="120"/></bpmndi:BPMNEdge>
15
+ <bpmndi:BPMNEdge id="Flow_g2_di" bpmnElement="Flow_g2"><di:waypoint x="300" y="120"/><di:waypoint x="360" y="120"/></bpmndi:BPMNEdge>
16
+ </bpmndi:BPMNPlane></bpmndi:BPMNDiagram>
17
+ </bpmn:definitions>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_g5" isExecutable="false">
4
+ <bpmn:startEvent id="Start_g"><bpmn:outgoing>Flow_g1</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:task id="Activity_a" name="A"><bpmn:incoming>Flow_g1</bpmn:incoming><bpmn:outgoing>Flow_g2</bpmn:outgoing></bpmn:task>
6
+ <bpmn:task id="Activity_b" name="B"><bpmn:incoming>Flow_g2</bpmn:incoming></bpmn:task>
7
+ <bpmn:sequenceFlow id="Flow_g1" sourceRef="Start_g" targetRef="Activity_a"/>
8
+ <bpmn:sequenceFlow id="Flow_g2" sourceRef="Activity_a" targetRef="Activity_b"/>
9
+ </bpmn:process>
10
+ <bpmndi:BPMNDiagram id="Dia_1"><bpmndi:BPMNPlane id="Plane_1" bpmnElement="Process_g5">
11
+ <bpmndi:BPMNShape id="Start_g_di" bpmnElement="Start_g"><dc:Bounds x="100" y="100" width="36" height="36"/></bpmndi:BPMNShape>
12
+ <bpmndi:BPMNShape id="Activity_a_di" bpmnElement="Activity_a"><dc:Bounds x="200" y="80" width="100" height="80"/></bpmndi:BPMNShape>
13
+ <bpmndi:BPMNShape id="Activity_b_di" bpmnElement="Activity_b"><dc:Bounds x="250" y="100" width="100" height="80"/></bpmndi:BPMNShape>
14
+ <bpmndi:BPMNEdge id="Flow_g1_di" bpmnElement="Flow_g1"><di:waypoint x="136" y="118"/><di:waypoint x="200" y="120"/></bpmndi:BPMNEdge>
15
+ <bpmndi:BPMNEdge id="Flow_g2_di" bpmnElement="Flow_g2"><di:waypoint x="300" y="120"/><di:waypoint x="250" y="140"/></bpmndi:BPMNEdge>
16
+ </bpmndi:BPMNPlane></bpmndi:BPMNDiagram>
17
+ </bpmn:definitions>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_linear" isExecutable="false">
4
+ <bpmn:startEvent id="Start_begin" name="Begin"><bpmn:outgoing>Flow_1</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:userTask id="Task_capture" name="Capture"><bpmn:incoming>Flow_1</bpmn:incoming><bpmn:outgoing>Flow_2</bpmn:outgoing></bpmn:userTask>
6
+ <bpmn:serviceTask id="Service_store" name="Store"><bpmn:incoming>Flow_2</bpmn:incoming><bpmn:outgoing>Flow_3</bpmn:outgoing></bpmn:serviceTask>
7
+ <bpmn:endEvent id="End_done" name="Done"><bpmn:incoming>Flow_3</bpmn:incoming></bpmn:endEvent>
8
+ <bpmn:sequenceFlow id="Flow_1" sourceRef="Start_begin" targetRef="Task_capture"/>
9
+ <bpmn:sequenceFlow id="Flow_2" sourceRef="Task_capture" targetRef="Service_store"/>
10
+ <bpmn:sequenceFlow id="Flow_3" sourceRef="Service_store" targetRef="End_done"/>
11
+ </bpmn:process>
12
+ </bpmn:definitions>
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_gateway" isExecutable="false">
4
+ <bpmn:startEvent id="Start_in" name="In"><bpmn:outgoing>Flow_1</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:task id="Activity_check" name="Check"><bpmn:incoming>Flow_1</bpmn:incoming><bpmn:outgoing>Flow_2</bpmn:outgoing></bpmn:task>
6
+ <bpmn:exclusiveGateway id="Gateway_split" name="OK?"><bpmn:incoming>Flow_2</bpmn:incoming><bpmn:outgoing>Flow_3</bpmn:outgoing><bpmn:outgoing>Flow_4</bpmn:outgoing></bpmn:exclusiveGateway>
7
+ <bpmn:task id="Activity_accept" name="Accept"><bpmn:incoming>Flow_3</bpmn:incoming><bpmn:outgoing>Flow_5</bpmn:outgoing></bpmn:task>
8
+ <bpmn:task id="Activity_reject" name="Reject"><bpmn:incoming>Flow_4</bpmn:incoming><bpmn:outgoing>Flow_6</bpmn:outgoing></bpmn:task>
9
+ <bpmn:exclusiveGateway id="Gateway_join"><bpmn:incoming>Flow_5</bpmn:incoming><bpmn:incoming>Flow_6</bpmn:incoming><bpmn:outgoing>Flow_7</bpmn:outgoing></bpmn:exclusiveGateway>
10
+ <bpmn:endEvent id="End_out" name="Out"><bpmn:incoming>Flow_7</bpmn:incoming></bpmn:endEvent>
11
+ <bpmn:sequenceFlow id="Flow_1" sourceRef="Start_in" targetRef="Activity_check"/>
12
+ <bpmn:sequenceFlow id="Flow_2" sourceRef="Activity_check" targetRef="Gateway_split"/>
13
+ <bpmn:sequenceFlow id="Flow_3" sourceRef="Gateway_split" targetRef="Activity_accept"/>
14
+ <bpmn:sequenceFlow id="Flow_4" sourceRef="Gateway_split" targetRef="Activity_reject"/>
15
+ <bpmn:sequenceFlow id="Flow_5" sourceRef="Activity_accept" targetRef="Gateway_join"/>
16
+ <bpmn:sequenceFlow id="Flow_6" sourceRef="Activity_reject" targetRef="Gateway_join"/>
17
+ <bpmn:sequenceFlow id="Flow_7" sourceRef="Gateway_join" targetRef="End_out"/>
18
+ </bpmn:process>
19
+ </bpmn:definitions>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_boundary" isExecutable="false">
4
+ <bpmn:startEvent id="Start_go" name="Go"><bpmn:outgoing>Flow_1</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:userTask id="Task_wait" name="Wait"><bpmn:incoming>Flow_1</bpmn:incoming><bpmn:outgoing>Flow_2</bpmn:outgoing></bpmn:userTask>
6
+ <bpmn:endEvent id="End_ok" name="OK"><bpmn:incoming>Flow_2</bpmn:incoming></bpmn:endEvent>
7
+ <bpmn:endEvent id="End_timeout" name="Timeout"><bpmn:incoming>Flow_3</bpmn:incoming></bpmn:endEvent>
8
+ <bpmn:boundaryEvent id="Boundary_timer" name="Timer" attachedToRef="Task_wait"><bpmn:outgoing>Flow_3</bpmn:outgoing></bpmn:boundaryEvent>
9
+ <bpmn:sequenceFlow id="Flow_1" sourceRef="Start_go" targetRef="Task_wait"/>
10
+ <bpmn:sequenceFlow id="Flow_2" sourceRef="Task_wait" targetRef="End_ok"/>
11
+ <bpmn:sequenceFlow id="Flow_3" sourceRef="Boundary_timer" targetRef="End_timeout"/>
12
+ </bpmn:process>
13
+ </bpmn:definitions>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_sub" isExecutable="false">
4
+ <bpmn:startEvent id="Start_outer"><bpmn:outgoing>Flow_1</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:subProcess id="Activity_sub" name="Sub">
6
+ <bpmn:incoming>Flow_1</bpmn:incoming><bpmn:outgoing>Flow_2</bpmn:outgoing>
7
+ <bpmn:startEvent id="Start_inner"><bpmn:outgoing>Flow_i1</bpmn:outgoing></bpmn:startEvent>
8
+ <bpmn:task id="Activity_charge" name="Charge"><bpmn:incoming>Flow_i1</bpmn:incoming><bpmn:outgoing>Flow_i2</bpmn:outgoing></bpmn:task>
9
+ <bpmn:endEvent id="End_inner"><bpmn:incoming>Flow_i2</bpmn:incoming></bpmn:endEvent>
10
+ <bpmn:sequenceFlow id="Flow_i1" sourceRef="Start_inner" targetRef="Activity_charge"/>
11
+ <bpmn:sequenceFlow id="Flow_i2" sourceRef="Activity_charge" targetRef="End_inner"/>
12
+ </bpmn:subProcess>
13
+ <bpmn:endEvent id="End_outer"><bpmn:incoming>Flow_2</bpmn:incoming></bpmn:endEvent>
14
+ <bpmn:sequenceFlow id="Flow_1" sourceRef="Start_outer" targetRef="Activity_sub"/>
15
+ <bpmn:sequenceFlow id="Flow_2" sourceRef="Activity_sub" targetRef="End_outer"/>
16
+ </bpmn:process>
17
+ </bpmn:definitions>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:collaboration id="Collaboration_1">
4
+ <bpmn:participant id="Participant_customer" name="Customer" processRef="Process_customer"/>
5
+ <bpmn:participant id="Participant_shop" name="Shop" processRef="Process_shop"/>
6
+ </bpmn:collaboration>
7
+ <bpmn:process id="Process_customer" isExecutable="false">
8
+ <bpmn:startEvent id="Start_order"><bpmn:outgoing>Flow_c1</bpmn:outgoing></bpmn:startEvent>
9
+ <bpmn:userTask id="Task_place" name="Place order"><bpmn:incoming>Flow_c1</bpmn:incoming><bpmn:outgoing>Flow_c2</bpmn:outgoing></bpmn:userTask>
10
+ <bpmn:endEvent id="End_c"><bpmn:incoming>Flow_c2</bpmn:incoming></bpmn:endEvent>
11
+ <bpmn:sequenceFlow id="Flow_c1" sourceRef="Start_order" targetRef="Task_place"/>
12
+ <bpmn:sequenceFlow id="Flow_c2" sourceRef="Task_place" targetRef="End_c"/>
13
+ </bpmn:process>
14
+ <bpmn:process id="Process_shop" isExecutable="false">
15
+ <bpmn:startEvent id="Start_recv"><bpmn:outgoing>Flow_s1</bpmn:outgoing></bpmn:startEvent>
16
+ <bpmn:serviceTask id="Service_fulfil" name="Fulfil"><bpmn:incoming>Flow_s1</bpmn:incoming><bpmn:outgoing>Flow_s2</bpmn:outgoing></bpmn:serviceTask>
17
+ <bpmn:endEvent id="End_s"><bpmn:incoming>Flow_s2</bpmn:incoming></bpmn:endEvent>
18
+ <bpmn:sequenceFlow id="Flow_s1" sourceRef="Start_recv" targetRef="Service_fulfil"/>
19
+ <bpmn:sequenceFlow id="Flow_s2" sourceRef="Service_fulfil" targetRef="End_s"/>
20
+ </bpmn:process>
21
+ </bpmn:definitions>
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_lanes" isExecutable="false">
4
+ <bpmn:laneSet id="LaneSet_1">
5
+ <bpmn:lane id="Lane_sales" name="Sales"><bpmn:flowNodeRef>Task_quote</bpmn:flowNodeRef></bpmn:lane>
6
+ <bpmn:lane id="Lane_finance" name="Finance"><bpmn:flowNodeRef>Task_invoice</bpmn:flowNodeRef></bpmn:lane>
7
+ </bpmn:laneSet>
8
+ <bpmn:startEvent id="Start_l"><bpmn:outgoing>Flow_l1</bpmn:outgoing></bpmn:startEvent>
9
+ <bpmn:userTask id="Task_quote" name="Quote"><bpmn:incoming>Flow_l1</bpmn:incoming><bpmn:outgoing>Flow_l2</bpmn:outgoing></bpmn:userTask>
10
+ <bpmn:userTask id="Task_invoice" name="Invoice"><bpmn:incoming>Flow_l2</bpmn:incoming><bpmn:outgoing>Flow_l3</bpmn:outgoing></bpmn:userTask>
11
+ <bpmn:endEvent id="End_l"><bpmn:incoming>Flow_l3</bpmn:incoming></bpmn:endEvent>
12
+ <bpmn:sequenceFlow id="Flow_l1" sourceRef="Start_l" targetRef="Task_quote"/>
13
+ <bpmn:sequenceFlow id="Flow_l2" sourceRef="Task_quote" targetRef="Task_invoice"/>
14
+ <bpmn:sequenceFlow id="Flow_l3" sourceRef="Task_invoice" targetRef="End_l"/>
15
+ </bpmn:process>
16
+ </bpmn:definitions>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_loop" isExecutable="false">
4
+ <bpmn:startEvent id="Start_s" name="Start"><bpmn:outgoing>Flow_1</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:userTask id="Task_attempt" name="Attempt"><bpmn:incoming>Flow_1</bpmn:incoming><bpmn:incoming>Flow_4</bpmn:incoming><bpmn:outgoing>Flow_2</bpmn:outgoing></bpmn:userTask>
6
+ <bpmn:exclusiveGateway id="Gateway_ok" name="Passed?"><bpmn:incoming>Flow_2</bpmn:incoming><bpmn:outgoing>Flow_3</bpmn:outgoing><bpmn:outgoing>Flow_4</bpmn:outgoing></bpmn:exclusiveGateway>
7
+ <bpmn:endEvent id="End_e" name="End"><bpmn:incoming>Flow_3</bpmn:incoming></bpmn:endEvent>
8
+ <bpmn:sequenceFlow id="Flow_1" sourceRef="Start_s" targetRef="Task_attempt"/>
9
+ <bpmn:sequenceFlow id="Flow_2" sourceRef="Task_attempt" targetRef="Gateway_ok"/>
10
+ <bpmn:sequenceFlow id="Flow_3" sourceRef="Gateway_ok" targetRef="End_e"/>
11
+ <bpmn:sequenceFlow id="Flow_4" sourceRef="Gateway_ok" targetRef="Task_attempt"/>
12
+ </bpmn:process>
13
+ </bpmn:definitions>
@@ -0,0 +1,32 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_chain" isExecutable="false">
4
+ <bpmn:startEvent id="Start_c" name="Start"><bpmn:outgoing>Flow_1</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:task id="Task_step_1" name="Step 1"><bpmn:incoming>Flow_1</bpmn:incoming><bpmn:outgoing>Flow_2</bpmn:outgoing></bpmn:task>
6
+ <bpmn:task id="Task_step_2" name="Step 2"><bpmn:incoming>Flow_2</bpmn:incoming><bpmn:outgoing>Flow_3</bpmn:outgoing></bpmn:task>
7
+ <bpmn:task id="Task_step_3" name="Step 3"><bpmn:incoming>Flow_3</bpmn:incoming><bpmn:outgoing>Flow_4</bpmn:outgoing></bpmn:task>
8
+ <bpmn:task id="Task_step_4" name="Step 4"><bpmn:incoming>Flow_4</bpmn:incoming><bpmn:outgoing>Flow_5</bpmn:outgoing></bpmn:task>
9
+ <bpmn:task id="Task_step_5" name="Step 5"><bpmn:incoming>Flow_5</bpmn:incoming><bpmn:outgoing>Flow_6</bpmn:outgoing></bpmn:task>
10
+ <bpmn:task id="Task_step_6" name="Step 6"><bpmn:incoming>Flow_6</bpmn:incoming><bpmn:outgoing>Flow_7</bpmn:outgoing></bpmn:task>
11
+ <bpmn:task id="Task_step_7" name="Step 7"><bpmn:incoming>Flow_7</bpmn:incoming><bpmn:outgoing>Flow_8</bpmn:outgoing></bpmn:task>
12
+ <bpmn:task id="Task_step_8" name="Step 8"><bpmn:incoming>Flow_8</bpmn:incoming><bpmn:outgoing>Flow_9</bpmn:outgoing></bpmn:task>
13
+ <bpmn:task id="Task_step_9" name="Step 9"><bpmn:incoming>Flow_9</bpmn:incoming><bpmn:outgoing>Flow_10</bpmn:outgoing></bpmn:task>
14
+ <bpmn:task id="Task_step_10" name="Step 10"><bpmn:incoming>Flow_10</bpmn:incoming><bpmn:outgoing>Flow_11</bpmn:outgoing></bpmn:task>
15
+ <bpmn:task id="Task_step_11" name="Step 11"><bpmn:incoming>Flow_11</bpmn:incoming><bpmn:outgoing>Flow_12</bpmn:outgoing></bpmn:task>
16
+ <bpmn:task id="Task_step_12" name="Step 12"><bpmn:incoming>Flow_12</bpmn:incoming><bpmn:outgoing>Flow_end</bpmn:outgoing></bpmn:task>
17
+ <bpmn:endEvent id="End_c" name="End"><bpmn:incoming>Flow_end</bpmn:incoming></bpmn:endEvent>
18
+ <bpmn:sequenceFlow id="Flow_1" sourceRef="Start_c" targetRef="Task_step_1"/>
19
+ <bpmn:sequenceFlow id="Flow_2" sourceRef="Task_step_1" targetRef="Task_step_2"/>
20
+ <bpmn:sequenceFlow id="Flow_3" sourceRef="Task_step_2" targetRef="Task_step_3"/>
21
+ <bpmn:sequenceFlow id="Flow_4" sourceRef="Task_step_3" targetRef="Task_step_4"/>
22
+ <bpmn:sequenceFlow id="Flow_5" sourceRef="Task_step_4" targetRef="Task_step_5"/>
23
+ <bpmn:sequenceFlow id="Flow_6" sourceRef="Task_step_5" targetRef="Task_step_6"/>
24
+ <bpmn:sequenceFlow id="Flow_7" sourceRef="Task_step_6" targetRef="Task_step_7"/>
25
+ <bpmn:sequenceFlow id="Flow_8" sourceRef="Task_step_7" targetRef="Task_step_8"/>
26
+ <bpmn:sequenceFlow id="Flow_9" sourceRef="Task_step_8" targetRef="Task_step_9"/>
27
+ <bpmn:sequenceFlow id="Flow_10" sourceRef="Task_step_9" targetRef="Task_step_10"/>
28
+ <bpmn:sequenceFlow id="Flow_11" sourceRef="Task_step_10" targetRef="Task_step_11"/>
29
+ <bpmn:sequenceFlow id="Flow_12" sourceRef="Task_step_11" targetRef="Task_step_12"/>
30
+ <bpmn:sequenceFlow id="Flow_end" sourceRef="Task_step_12" targetRef="End_c"/>
31
+ </bpmn:process>
32
+ </bpmn:definitions>
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_ok" isExecutable="false">
4
+ <bpmn:startEvent id="Start_ok"><bpmn:outgoing>Flow_o1</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:subProcess id="Activity_expanded" name="Expanded">
6
+ <bpmn:incoming>Flow_o1</bpmn:incoming><bpmn:outgoing>Flow_o2</bpmn:outgoing>
7
+ <bpmn:startEvent id="Start_inner_ok"><bpmn:outgoing>Flow_in</bpmn:outgoing></bpmn:startEvent>
8
+ <bpmn:task id="Activity_inner" name="Inner"><bpmn:incoming>Flow_in</bpmn:incoming></bpmn:task>
9
+ <bpmn:sequenceFlow id="Flow_in" sourceRef="Start_inner_ok" targetRef="Activity_inner"/>
10
+ </bpmn:subProcess>
11
+ <bpmn:endEvent id="End_ok"><bpmn:incoming>Flow_o2</bpmn:incoming></bpmn:endEvent>
12
+ <bpmn:sequenceFlow id="Flow_o1" sourceRef="Start_ok" targetRef="Activity_expanded"/>
13
+ <bpmn:sequenceFlow id="Flow_o2" sourceRef="Activity_expanded" targetRef="End_ok"/>
14
+ </bpmn:process>
15
+ <bpmndi:BPMNDiagram id="Dia_1"><bpmndi:BPMNPlane id="Plane_1" bpmnElement="Process_ok">
16
+ <bpmndi:BPMNShape id="Start_ok_di" bpmnElement="Start_ok"><dc:Bounds x="100" y="200" width="36" height="36"/></bpmndi:BPMNShape>
17
+ <bpmndi:BPMNShape id="Activity_expanded_di" bpmnElement="Activity_expanded" isExpanded="true"><dc:Bounds x="200" y="120" width="300" height="200"/></bpmndi:BPMNShape>
18
+ <bpmndi:BPMNShape id="Start_inner_ok_di" bpmnElement="Start_inner_ok"><dc:Bounds x="240" y="200" width="36" height="36"/></bpmndi:BPMNShape>
19
+ <bpmndi:BPMNShape id="Activity_inner_di" bpmnElement="Activity_inner"><dc:Bounds x="320" y="180" width="100" height="80"/></bpmndi:BPMNShape>
20
+ <bpmndi:BPMNShape id="End_ok_di" bpmnElement="End_ok"><dc:Bounds x="560" y="200" width="36" height="36"/></bpmndi:BPMNShape>
21
+ <bpmndi:BPMNEdge id="Flow_o1_di" bpmnElement="Flow_o1"><di:waypoint x="136" y="218"/><di:waypoint x="200" y="220"/></bpmndi:BPMNEdge>
22
+ <bpmndi:BPMNEdge id="Flow_o2_di" bpmnElement="Flow_o2"><di:waypoint x="500" y="220"/><di:waypoint x="560" y="218"/></bpmndi:BPMNEdge>
23
+ <bpmndi:BPMNEdge id="Flow_in_di" bpmnElement="Flow_in"><di:waypoint x="276" y="218"/><di:waypoint x="320" y="220"/></bpmndi:BPMNEdge>
24
+ </bpmndi:BPMNPlane></bpmndi:BPMNDiagram>
25
+ </bpmn:definitions>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_call_activity" isExecutable="false">
4
+ <bpmn:startEvent id="Start_p" name="Start"><bpmn:outgoing>Flow_1</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:callActivity id="Call_x" name="X"><bpmn:incoming>Flow_1</bpmn:incoming><bpmn:outgoing>Flow_2</bpmn:outgoing></bpmn:callActivity>
6
+ <bpmn:endEvent id="End_p" name="End"><bpmn:incoming>Flow_2</bpmn:incoming></bpmn:endEvent>
7
+ <bpmn:sequenceFlow id="Flow_1" sourceRef="Start_p" targetRef="Call_x"/>
8
+ <bpmn:sequenceFlow id="Flow_2" sourceRef="Call_x" targetRef="End_p"/>
9
+ </bpmn:process>
10
+ </bpmn:definitions>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_icatch" isExecutable="false">
4
+ <bpmn:startEvent id="Start_ic" name="Start"><bpmn:outgoing>Flow_1</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:intermediateCatchEvent id="CatchEvent_wait" name="Wait"><bpmn:incoming>Flow_1</bpmn:incoming><bpmn:outgoing>Flow_2</bpmn:outgoing></bpmn:intermediateCatchEvent>
6
+ <bpmn:endEvent id="End_ic" name="End"><bpmn:incoming>Flow_2</bpmn:incoming></bpmn:endEvent>
7
+ <bpmn:sequenceFlow id="Flow_1" sourceRef="Start_ic" targetRef="CatchEvent_wait"/>
8
+ <bpmn:sequenceFlow id="Flow_2" sourceRef="CatchEvent_wait" targetRef="End_ic"/>
9
+ </bpmn:process>
10
+ </bpmn:definitions>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_ithrow" isExecutable="false">
4
+ <bpmn:startEvent id="Start_it" name="Start"><bpmn:outgoing>Flow_1</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:intermediateThrowEvent id="ThrowEvent_signal" name="Signal"><bpmn:incoming>Flow_1</bpmn:incoming><bpmn:outgoing>Flow_2</bpmn:outgoing></bpmn:intermediateThrowEvent>
6
+ <bpmn:endEvent id="End_it" name="End"><bpmn:incoming>Flow_2</bpmn:incoming></bpmn:endEvent>
7
+ <bpmn:sequenceFlow id="Flow_1" sourceRef="Start_it" targetRef="ThrowEvent_signal"/>
8
+ <bpmn:sequenceFlow id="Flow_2" sourceRef="ThrowEvent_signal" targetRef="End_it"/>
9
+ </bpmn:process>
10
+ </bpmn:definitions>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_manual_task" isExecutable="false">
4
+ <bpmn:startEvent id="Start_p" name="Start"><bpmn:outgoing>Flow_1</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:manualTask id="Manual_x" name="X"><bpmn:incoming>Flow_1</bpmn:incoming><bpmn:outgoing>Flow_2</bpmn:outgoing></bpmn:manualTask>
6
+ <bpmn:endEvent id="End_p" name="End"><bpmn:incoming>Flow_2</bpmn:incoming></bpmn:endEvent>
7
+ <bpmn:sequenceFlow id="Flow_1" sourceRef="Start_p" targetRef="Manual_x"/>
8
+ <bpmn:sequenceFlow id="Flow_2" sourceRef="Manual_x" targetRef="End_p"/>
9
+ </bpmn:process>
10
+ </bpmn:definitions>
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_multibound" isExecutable="false">
4
+ <bpmn:startEvent id="Start_mb" name="Start"><bpmn:outgoing>Flow_1</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:userTask id="Task_run" name="Run"><bpmn:incoming>Flow_1</bpmn:incoming><bpmn:outgoing>Flow_2</bpmn:outgoing></bpmn:userTask>
6
+ <bpmn:endEvent id="End_ok" name="OK"><bpmn:incoming>Flow_2</bpmn:incoming></bpmn:endEvent>
7
+ <bpmn:endEvent id="End_timer" name="Timeout"><bpmn:incoming>Flow_3</bpmn:incoming></bpmn:endEvent>
8
+ <bpmn:endEvent id="End_error" name="Error"><bpmn:incoming>Flow_4</bpmn:incoming></bpmn:endEvent>
9
+ <bpmn:boundaryEvent id="Boundary_timer" name="Timer" attachedToRef="Task_run"><bpmn:outgoing>Flow_3</bpmn:outgoing></bpmn:boundaryEvent>
10
+ <bpmn:boundaryEvent id="Boundary_error" name="Error" attachedToRef="Task_run"><bpmn:outgoing>Flow_4</bpmn:outgoing></bpmn:boundaryEvent>
11
+ <bpmn:sequenceFlow id="Flow_1" sourceRef="Start_mb" targetRef="Task_run"/>
12
+ <bpmn:sequenceFlow id="Flow_2" sourceRef="Task_run" targetRef="End_ok"/>
13
+ <bpmn:sequenceFlow id="Flow_3" sourceRef="Boundary_timer" targetRef="End_timer"/>
14
+ <bpmn:sequenceFlow id="Flow_4" sourceRef="Boundary_error" targetRef="End_error"/>
15
+ </bpmn:process>
16
+ </bpmn:definitions>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_parallel_gateway" isExecutable="false">
4
+ <bpmn:startEvent id="Start_p" name="Start"><bpmn:outgoing>Flow_1</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:parallelGateway id="Fork_x" name="X"><bpmn:incoming>Flow_1</bpmn:incoming><bpmn:outgoing>Flow_2</bpmn:outgoing></bpmn:parallelGateway>
6
+ <bpmn:endEvent id="End_p" name="End"><bpmn:incoming>Flow_2</bpmn:incoming></bpmn:endEvent>
7
+ <bpmn:sequenceFlow id="Flow_1" sourceRef="Start_p" targetRef="Fork_x"/>
8
+ <bpmn:sequenceFlow id="Flow_2" sourceRef="Fork_x" targetRef="End_p"/>
9
+ </bpmn:process>
10
+ </bpmn:definitions>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_receive_task" isExecutable="false">
4
+ <bpmn:startEvent id="Start_p" name="Start"><bpmn:outgoing>Flow_1</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:receiveTask id="Receive_x" name="X"><bpmn:incoming>Flow_1</bpmn:incoming><bpmn:outgoing>Flow_2</bpmn:outgoing></bpmn:receiveTask>
6
+ <bpmn:endEvent id="End_p" name="End"><bpmn:incoming>Flow_2</bpmn:incoming></bpmn:endEvent>
7
+ <bpmn:sequenceFlow id="Flow_1" sourceRef="Start_p" targetRef="Receive_x"/>
8
+ <bpmn:sequenceFlow id="Flow_2" sourceRef="Receive_x" targetRef="End_p"/>
9
+ </bpmn:process>
10
+ </bpmn:definitions>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_rule_task" isExecutable="false">
4
+ <bpmn:startEvent id="Start_p" name="Start"><bpmn:outgoing>Flow_1</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:businessRuleTask id="Rule_x" name="X"><bpmn:incoming>Flow_1</bpmn:incoming><bpmn:outgoing>Flow_2</bpmn:outgoing></bpmn:businessRuleTask>
6
+ <bpmn:endEvent id="End_p" name="End"><bpmn:incoming>Flow_2</bpmn:incoming></bpmn:endEvent>
7
+ <bpmn:sequenceFlow id="Flow_1" sourceRef="Start_p" targetRef="Rule_x"/>
8
+ <bpmn:sequenceFlow id="Flow_2" sourceRef="Rule_x" targetRef="End_p"/>
9
+ </bpmn:process>
10
+ </bpmn:definitions>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_script_task" isExecutable="false">
4
+ <bpmn:startEvent id="Start_p" name="Start"><bpmn:outgoing>Flow_1</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:scriptTask id="Script_x" name="X"><bpmn:incoming>Flow_1</bpmn:incoming><bpmn:outgoing>Flow_2</bpmn:outgoing></bpmn:scriptTask>
6
+ <bpmn:endEvent id="End_p" name="End"><bpmn:incoming>Flow_2</bpmn:incoming></bpmn:endEvent>
7
+ <bpmn:sequenceFlow id="Flow_1" sourceRef="Start_p" targetRef="Script_x"/>
8
+ <bpmn:sequenceFlow id="Flow_2" sourceRef="Script_x" targetRef="End_p"/>
9
+ </bpmn:process>
10
+ </bpmn:definitions>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
3
+ <bpmn:process id="Process_send_task" isExecutable="false">
4
+ <bpmn:startEvent id="Start_p" name="Start"><bpmn:outgoing>Flow_1</bpmn:outgoing></bpmn:startEvent>
5
+ <bpmn:sendTask id="Send_x" name="X"><bpmn:incoming>Flow_1</bpmn:incoming><bpmn:outgoing>Flow_2</bpmn:outgoing></bpmn:sendTask>
6
+ <bpmn:endEvent id="End_p" name="End"><bpmn:incoming>Flow_2</bpmn:incoming></bpmn:endEvent>
7
+ <bpmn:sequenceFlow id="Flow_1" sourceRef="Start_p" targetRef="Send_x"/>
8
+ <bpmn:sequenceFlow id="Flow_2" sourceRef="Send_x" targetRef="End_p"/>
9
+ </bpmn:process>
10
+ </bpmn:definitions>
@@ -0,0 +1,52 @@
1
+ # Authoring envelope
2
+
3
+ Generated BPMN is **plain, vendor-neutral BPMN 2.0 semantics with no geometry**.
4
+ The layout step produces geometry; the authoring step must not. Generation is
5
+ confined to the constructs the layout step demonstrably handles (see
6
+ `references/layout-envelope.md` for the measured evidence).
7
+
8
+ ## Hard rules (authoring aborts on any violation)
9
+
10
+ 1. **Semantics only.** No `bpmndi:` element, no `dc:Bounds`, no `di:waypoint`.
11
+ Coordinates come exclusively from the layout step.
12
+ 2. **Plain BPMN 2.0.** No `camunda:`, `zeebe:`, `activiti:` or `flowable:`
13
+ namespace, element or attribute. Link information lives in `package.yaml`.
14
+ 3. **Allow-listed constructs only** (each has a passing layout fixture):
15
+ start / end / intermediate catch & throw events; `task`, `userTask`,
16
+ `serviceTask`, `businessRuleTask`, `manualTask`, `scriptTask`, `sendTask`,
17
+ `receiveTask`, `callActivity`; `exclusiveGateway`, `parallelGateway`; a
18
+ **single** `boundaryEvent` per activity; `sequenceFlow` including loops.
19
+ 4. **Flow nodes must declare `<bpmn:incoming>` / `<bpmn:outgoing>`.**
20
+ `bpmn-auto-layout` builds the edge graph from these child references; a
21
+ `sequenceFlow` with `sourceRef`/`targetRef` alone lays out the nodes but emits
22
+ **no edges**, which the guard then rejects under P2. Always emit the
23
+ incoming/outgoing children on every connected flow node.
24
+
25
+ ## Rejected constructs and their substitutions
26
+
27
+ | rejected | why | substitution |
28
+ |---|---|---|
29
+ | inline `subProcess` | layout gives children coordinates identical to parent-level shapes (G1) and outside the collapsed container (G3) | `callActivity` + a separate `.bpmn` + `kind: process` binding → click-to-drill-down |
30
+ | `collaboration` / `participant` | layout lays out only the first process; further pools, lanes and message flows lose geometry | one `.bpmn` per participant + `kind: participant` bindings → pool switcher |
31
+ | `laneSet` / `lane` | lane shapes are never emitted | manifest `roles` → CSS markers + legend |
32
+ | `messageFlow` | unrepresentable after pool decomposition | rejected; `sendTask`/`receiveTask` are allowed but their counterpart link is not drawn (a warning says so) |
33
+ | ≥2 `boundaryEvent` on one activity | layout overlaps them (measured ~2.7 px collision, G5) | split the interruptions across separate activities |
34
+
35
+ Every rejection names the measured failure mode and the substitution — no
36
+ element is ever dropped silently.
37
+
38
+ ## Identifiers
39
+
40
+ Identifiers are derived deterministically from element type + name; see
41
+ `references/identifiers.md`. In short: `<Prefix>_<slug(deburr(name))>` for named
42
+ elements, an ordinal for unnamed non-bindable elements, duplicate names within a
43
+ prefix are a hard error, and once a file exists its identifiers are opaque.
44
+
45
+ ## The file is the source of truth
46
+
47
+ Prose seeds the **first** generation only. After that the `.bpmn` is edited, not
48
+ regenerated — a request to regenerate an existing file is refused, listing the
49
+ bindings it would invalidate. A file already carrying DI (e.g. from Camunda
50
+ Modeler) is rendered as authored and is **not** re-laid out; the envelope and
51
+ naming rules are not enforced on it (they become warnings), because the envelope
52
+ governs generation, not ingestion.
@@ -0,0 +1,102 @@
1
+ # Element identifiers and naming rules
2
+
3
+ Bindings must survive editing. That is only possible if an element's identifier
4
+ is stable and meaningful, so the skill derives identifiers deterministically at
5
+ **authoring** time and treats them as **opaque** ever after.
6
+
7
+ ## Prefix table (normative)
8
+
9
+ A named element's identifier is `<Prefix>_<slug(deburr(name))>`. The prefix comes
10
+ from the element type so that two elements of different types never collide even
11
+ when they share a name.
12
+
13
+ | element type | prefix |
14
+ |---|---|
15
+ | `startEvent` | `Start` |
16
+ | `endEvent` | `End` |
17
+ | `intermediateCatchEvent` | `CatchEvent` |
18
+ | `intermediateThrowEvent` | `ThrowEvent` |
19
+ | `boundaryEvent` | `Boundary` |
20
+ | `task` | `Activity` |
21
+ | `userTask` | `Task` |
22
+ | `serviceTask` | `Service` |
23
+ | `businessRuleTask` | `Rule` |
24
+ | `manualTask` | `Manual` |
25
+ | `scriptTask` | `Script` |
26
+ | `sendTask` | `Send` |
27
+ | `receiveTask` | `Receive` |
28
+ | `callActivity` | `Call` |
29
+ | `exclusiveGateway` | `Gateway` |
30
+ | `parallelGateway` | `Fork` |
31
+ | `sequenceFlow` | `Flow` |
32
+
33
+ The generic `task` prefix is **`Activity`**, distinct from `userTask`'s **`Task`**.
34
+ So `Task_rendeles_jovahagyasa` denotes a `userTask` unambiguously; a generic
35
+ `task` of the same name would be `Activity_rendeles_jovahagyasa` and does not
36
+ collide.
37
+
38
+ ## Named elements — a pure function of type and name
39
+
40
+ `slug` = the name lower-cased, deburred to ASCII, with non-alphanumeric runs
41
+ collapsed to a single underscore. The derivation reads **no** position, counter,
42
+ sequence number or random source, so re-ordering the document leaves every id
43
+ byte-identical (verified as a property, not by pattern-matching the output).
44
+
45
+ - `Rendelés jóváhagyása` (userTask) → **`Task_rendeles_jovahagyasa`**
46
+ - `Approve 2` (userTask) → **`Task_approve_2`** — a digit in the name is legal
47
+ and is *not* a positional counter.
48
+
49
+ **Hungarian deburring.** Names are normalised NFKD and combining marks removed;
50
+ `ő`→`o`, `ű`→`u`, `é`→`e`, `á`→`a`, `ó`→`o`. Deburring is lossy — `őrizet` and
51
+ `orizet` both slug to `orizet`.
52
+
53
+ ## Unnamed elements — an ordinal discriminator, not bindable
54
+
55
+ An unnamed element (an unnamed gateway or intermediate event — ordinary BPMN)
56
+ gets `<Prefix>_<ordinal>`, e.g. `Gateway_1`, `Activity_1`, `Activity_2`. This is
57
+ safe **because an unnamed element is not bindable**: a manifest binding or role
58
+ targeting an ordinal identifier is rejected, since an ordinal is not stable
59
+ across regeneration. Authoring never rejects a process merely for containing
60
+ unnamed non-bindable elements.
61
+
62
+ ## Uniqueness errors (hard, at authoring time)
63
+
64
+ 1. **Duplicate name within a shared prefix** — two `userTask`s both named
65
+ `Approve` is rejected; disambiguate to `Approve (manager)` / `Approve
66
+ (finance)`. Scoped to a shared prefix because that is the only case a
67
+ disambiguating counter would otherwise be needed, and a counter is what
68
+ permits silent re-binding. A `userTask` and an `endEvent` sharing a name are
69
+ accepted (different prefixes).
70
+ 2. **Post-deburr identifier collision** — `őrizet` and `orizet` both derive
71
+ `Activity_orizet`; rejected, naming the colliding id, because a duplicate
72
+ `xsd:ID` is invalid XML. This check is forced by the schema and exists even
73
+ though rule 1 would not catch it.
74
+ 3. **Unnamed bindable element** — a `userTask`, `businessRuleTask` or
75
+ `callActivity` with no name is rejected: a bindable element needs a name to
76
+ derive a stable identifier.
77
+
78
+ ## Authoring vs ingestion — the boundary
79
+
80
+ The rules above govern **authoring only**. Once a `.bpmn` exists:
81
+
82
+ - **Identifiers are opaque.** A diagram round-tripped through Camunda Modeler
83
+ carries tool-generated ids such as `Activity_1a2b3c`; these are preserved and
84
+ never re-derived, re-slugged or normalised. Rewriting them would break every
85
+ binding.
86
+ - **Naming rules become warnings.** An operator-authored file with duplicate
87
+ names or an unnamed bindable element is *rendered with a warning*, not refused
88
+ — the envelope governs generation, not ingestion.
89
+ - **The file is the source of truth.** Prose seeds the *first* generation only.
90
+ A request to regenerate an existing `.bpmn` from prose is refused, listing the
91
+ bindings that regeneration would invalidate. Later changes are edits to the
92
+ file.
93
+
94
+ ## Reconciliation matches on `name`, not identifier
95
+
96
+ In a modeller a **rename** changes the label and leaves the id alone, so an
97
+ operator rename never dangles a binding — but the binding's recorded name goes
98
+ stale. The identity-changing event is **delete-and-re-add**, which yields a new
99
+ random id on an element that kept its name. Matching on ids would miss that, so
100
+ each binding and each role records its target's `name`, refreshed on every
101
+ successful validation, and reconciliation joins on names. See
102
+ `references/package-manifest.md`.