bpmn-js 0.20.6 → 0.22.1

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 (410) hide show
  1. package/.eslintrc +33 -33
  2. package/.npmignore +8 -8
  3. package/.travis.yml +19 -17
  4. package/.wiredeps +88 -88
  5. package/CONTRIBUTING.md +55 -55
  6. package/Gruntfile.js +129 -129
  7. package/LICENSE +22 -22
  8. package/README.md +113 -113
  9. package/assets/bpmn-font/css/bpmn-embedded.css +159 -159
  10. package/assets/bpmn-font/css/bpmn.css +161 -161
  11. package/assets/bpmn-font/font/bpmn.svg +116 -116
  12. package/docs/architecture/overview.svg +48 -48
  13. package/docs/project/COMMIT_MESSAGES.md +82 -82
  14. package/docs/project/SETUP.md +66 -66
  15. package/docs/project/setup-alternative.sh +41 -41
  16. package/docs/project/setup.bat +45 -45
  17. package/docs/project/setup.sh +40 -40
  18. package/docs/translations.json +97 -97
  19. package/lib/Modeler.js +208 -208
  20. package/lib/NavigatedViewer.js +27 -27
  21. package/lib/Viewer.js +503 -503
  22. package/lib/core/index.js +5 -5
  23. package/lib/draw/BpmnRenderer.js +1934 -1934
  24. package/lib/draw/PathMap.js +478 -478
  25. package/lib/draw/index.js +5 -5
  26. package/lib/features/auto-resize/BpmnAutoResize.js +34 -34
  27. package/lib/features/auto-resize/BpmnAutoResizeProvider.js +51 -51
  28. package/lib/features/auto-resize/index.js +5 -5
  29. package/lib/features/context-pad/ContextPadProvider.js +374 -374
  30. package/lib/features/context-pad/index.js +11 -11
  31. package/lib/features/copy-paste/BpmnCopyPaste.js +157 -154
  32. package/lib/features/copy-paste/index.js +7 -7
  33. package/lib/features/distribute-elements/BpmnDistributeElements.js +34 -34
  34. package/lib/features/distribute-elements/index.js +7 -7
  35. package/lib/features/editor-actions/BpmnEditorActions.js +130 -130
  36. package/lib/features/editor-actions/index.js +15 -15
  37. package/lib/features/global-connect/BpmnGlobalConnect.js +49 -49
  38. package/lib/features/global-connect/index.js +7 -7
  39. package/lib/features/keyboard/BpmnKeyBindings.js +72 -72
  40. package/lib/features/keyboard/index.js +7 -7
  41. package/lib/features/label-editing/LabelEditingPreview.js +122 -0
  42. package/lib/features/label-editing/LabelEditingProvider.js +292 -193
  43. package/lib/features/label-editing/LabelUtil.js +43 -43
  44. package/lib/features/label-editing/cmd/UpdateLabelHandler.js +116 -112
  45. package/lib/features/label-editing/index.js +14 -9
  46. package/lib/features/modeling/BpmnFactory.js +97 -97
  47. package/lib/features/modeling/BpmnLayouter.js +191 -191
  48. package/lib/features/modeling/BpmnUpdater.js +692 -688
  49. package/lib/features/modeling/ElementFactory.js +218 -218
  50. package/lib/features/modeling/Modeling.js +183 -183
  51. package/lib/features/modeling/behavior/AppendBehavior.js +42 -42
  52. package/lib/features/modeling/behavior/CopyPasteBehavior.js +69 -69
  53. package/lib/features/modeling/behavior/CreateBoundaryEventBehavior.js +51 -51
  54. package/lib/features/modeling/behavior/CreateDataObjectBehavior.js +37 -37
  55. package/lib/features/modeling/behavior/CreateParticipantBehavior.js +91 -91
  56. package/lib/features/modeling/behavior/DataInputAssociationBehavior.js +151 -151
  57. package/lib/features/modeling/behavior/DeleteLaneBehavior.js +107 -107
  58. package/lib/features/modeling/behavior/DropOnFlowBehavior.js +165 -131
  59. package/lib/features/modeling/behavior/ImportDockingFix.js +80 -80
  60. package/lib/features/modeling/behavior/LabelBehavior.js +222 -222
  61. package/lib/features/modeling/behavior/ModelingFeedback.js +50 -50
  62. package/lib/features/modeling/behavior/RemoveElementBehavior.js +73 -73
  63. package/lib/features/modeling/behavior/RemoveParticipantBehavior.js +50 -50
  64. package/lib/features/modeling/behavior/ReplaceConnectionBehavior.js +128 -128
  65. package/lib/features/modeling/behavior/ReplaceElementBehaviour.js +118 -116
  66. package/lib/features/modeling/behavior/ResizeLaneBehavior.js +59 -59
  67. package/lib/features/modeling/behavior/ToggleElementCollapseBehaviour.js +138 -138
  68. package/lib/features/modeling/behavior/UnclaimIdBehavior.js +27 -27
  69. package/lib/features/modeling/behavior/UnsetDefaultFlowBehavior.js +54 -54
  70. package/lib/features/modeling/behavior/UpdateFlowNodeRefsBehavior.js +156 -156
  71. package/lib/features/modeling/behavior/index.js +44 -44
  72. package/lib/features/modeling/behavior/util/GeometricUtil.js +129 -129
  73. package/lib/features/modeling/behavior/util/LabelLayoutUtil.js +218 -218
  74. package/lib/features/modeling/behavior/util/LineAttachmentUtil.js +233 -233
  75. package/lib/features/modeling/behavior/util/LineIntersect.js +36 -36
  76. package/lib/features/modeling/cmd/AddLaneHandler.js +83 -83
  77. package/lib/features/modeling/cmd/IdClaimHandler.js +41 -41
  78. package/lib/features/modeling/cmd/ResizeLaneHandler.js +125 -125
  79. package/lib/features/modeling/cmd/SplitLaneHandler.js +82 -82
  80. package/lib/features/modeling/cmd/UpdateCanvasRootHandler.js +78 -78
  81. package/lib/features/modeling/cmd/UpdateFlowNodeRefsHandler.js +185 -185
  82. package/lib/features/modeling/cmd/UpdatePropertiesHandler.js +264 -264
  83. package/lib/features/modeling/index.js +23 -23
  84. package/lib/features/modeling/util/LaneUtil.js +157 -157
  85. package/lib/features/modeling/util/ModelingUtil.js +48 -48
  86. package/lib/features/ordering/BpmnOrderingProvider.js +147 -147
  87. package/lib/features/ordering/index.js +6 -6
  88. package/lib/features/palette/PaletteProvider.js +158 -158
  89. package/lib/features/palette/index.js +13 -13
  90. package/lib/features/popup-menu/ReplaceMenuProvider.js +479 -479
  91. package/lib/features/popup-menu/index.js +7 -7
  92. package/lib/features/popup-menu/util/TypeUtil.js +41 -41
  93. package/lib/features/replace/BpmnReplace.js +197 -197
  94. package/lib/features/replace/ReplaceOptions.js +787 -787
  95. package/lib/features/replace/index.js +7 -7
  96. package/lib/features/replace-preview/BpmnReplacePreview.js +113 -113
  97. package/lib/features/replace-preview/index.js +5 -5
  98. package/lib/features/rules/BpmnRules.js +807 -806
  99. package/lib/features/rules/index.js +7 -7
  100. package/lib/features/search/BpmnSearchProvider.js +128 -128
  101. package/lib/features/search/index.js +7 -7
  102. package/lib/features/snapping/BpmnSnapping.js +511 -495
  103. package/lib/features/snapping/BpmnSnappingUtil.js +159 -159
  104. package/lib/features/snapping/index.js +3 -3
  105. package/lib/import/BpmnImporter.js +302 -302
  106. package/lib/import/BpmnTreeWalker.js +445 -445
  107. package/lib/import/Importer.js +69 -69
  108. package/lib/import/Util.js +8 -8
  109. package/lib/import/index.js +5 -5
  110. package/lib/util/DiUtil.js +60 -60
  111. package/lib/util/LabelUtil.js +139 -139
  112. package/lib/util/ModelUtil.js +31 -31
  113. package/lib/util/PoweredByUtil.js +82 -82
  114. package/lib/util/model/ModelCloneHelper.js +201 -201
  115. package/lib/util/model/ModelCloneUtils.js +35 -35
  116. package/package.json +22 -22
  117. package/resources/initial.bpmn +12 -12
  118. package/resources/screencast.gif +0 -0
  119. package/tasks/banner.txt +11 -11
  120. package/tasks/bundle.js +162 -162
  121. package/test/TestHelper.js +17 -17
  122. package/test/config/karma.unit.js +46 -46
  123. package/test/config/translation-reporter.js +48 -48
  124. package/test/fixtures/bpmn/align-elements.bpmn +136 -136
  125. package/test/fixtures/bpmn/basic.bpmn +17 -17
  126. package/test/fixtures/bpmn/boundary-events.bpmn +59 -59
  127. package/test/fixtures/bpmn/collaboration/collaboration-empty-participant.bpmn +13 -13
  128. package/test/fixtures/bpmn/collaboration/collaboration-message-flows.bpmn +89 -89
  129. package/test/fixtures/bpmn/collaboration/collaboration-participant.bpmn +59 -59
  130. package/test/fixtures/bpmn/collaboration/process-empty.bpmn +6 -6
  131. package/test/fixtures/bpmn/collaboration/process.bpmn +47 -47
  132. package/test/fixtures/bpmn/collaboration-data-items.bpmn +81 -81
  133. package/test/fixtures/bpmn/collaboration-message-flows.bpmn +82 -82
  134. package/test/fixtures/bpmn/collaboration-sequence-flows.bpmn +83 -83
  135. package/test/fixtures/bpmn/collaboration.bpmn +50 -50
  136. package/test/fixtures/bpmn/complex.bpmn +2151 -2151
  137. package/test/fixtures/bpmn/conditions.bpmn +82 -82
  138. package/test/fixtures/bpmn/containers.bpmn +128 -128
  139. package/test/fixtures/bpmn/distribute-elements-filtering.bpmn +58 -58
  140. package/test/fixtures/bpmn/distribute-elements.bpmn +232 -232
  141. package/test/fixtures/bpmn/draw/activity-markers-combination.bpmn +141 -141
  142. package/test/fixtures/bpmn/draw/activity-markers-simple.bpmn +47 -47
  143. package/test/fixtures/bpmn/draw/activity-markers.bpmn +212 -212
  144. package/test/fixtures/bpmn/draw/associations.bpmn +55 -55
  145. package/test/fixtures/bpmn/draw/boundary-event-with-refnode.bpmn +81 -81
  146. package/test/fixtures/bpmn/draw/boundary-event-without-refnode.bpmn +81 -81
  147. package/test/fixtures/bpmn/draw/boundary-event-z-index.bpmn +82 -82
  148. package/test/fixtures/bpmn/draw/call-activity.bpmn +12 -12
  149. package/test/fixtures/bpmn/draw/colors.bpmn +411 -411
  150. package/test/fixtures/bpmn/draw/conditional-flow-default.bpmn +100 -100
  151. package/test/fixtures/bpmn/draw/conditional-flow-gateways.bpmn +72 -72
  152. package/test/fixtures/bpmn/draw/conditional-flow-typed-task.bpmn +33 -33
  153. package/test/fixtures/bpmn/draw/conditional-flow.bpmn +248 -248
  154. package/test/fixtures/bpmn/draw/data-objects.bpmn +265 -265
  155. package/test/fixtures/bpmn/draw/event-subprocesses-collapsed.bpmn +200 -200
  156. package/test/fixtures/bpmn/draw/event-subprocesses-expanded.bpmn +274 -274
  157. package/test/fixtures/bpmn/draw/events-interrupting.bpmn +370 -370
  158. package/test/fixtures/bpmn/draw/events.bpmn +374 -374
  159. package/test/fixtures/bpmn/draw/gateway-type-default.bpmn +45 -45
  160. package/test/fixtures/bpmn/draw/gateways.bpmn +61 -61
  161. package/test/fixtures/bpmn/draw/group.bpmn +24 -24
  162. package/test/fixtures/bpmn/draw/message-marker.bpmn +112 -112
  163. package/test/fixtures/bpmn/draw/pools-with-collection-marker.bpmn +104 -104
  164. package/test/fixtures/bpmn/draw/pools.bpmn +82 -82
  165. package/test/fixtures/bpmn/draw/task-types.bpmn +77 -77
  166. package/test/fixtures/bpmn/draw/text-annotation.bpmn +71 -71
  167. package/test/fixtures/bpmn/draw/xor.bpmn +45 -45
  168. package/test/fixtures/bpmn/empty-definitions.bpmn +4 -4
  169. package/test/fixtures/bpmn/error/categoryValue.bpmn +26 -26
  170. package/test/fixtures/bpmn/error/di-plane-no-bpmn-element.bpmn +9 -9
  171. package/test/fixtures/bpmn/error/duplicate-ids.bpmn +14 -14
  172. package/test/fixtures/bpmn/error/invalid-child.bpmn +6 -6
  173. package/test/fixtures/bpmn/error/missing-namespace.bpmn +12 -12
  174. package/test/fixtures/bpmn/event-sub-processes.bpmn +47 -47
  175. package/test/fixtures/bpmn/extension/camunda.bpmn +52 -52
  176. package/test/fixtures/bpmn/extension/custom-override.bpmn +53 -53
  177. package/test/fixtures/bpmn/extension/custom.bpmn +53 -53
  178. package/test/fixtures/bpmn/features/copy-paste/basic.bpmn +111 -111
  179. package/test/fixtures/bpmn/features/copy-paste/collaboration-multiple.bpmn +102 -102
  180. package/test/fixtures/bpmn/features/copy-paste/collaboration.bpmn +74 -74
  181. package/test/fixtures/bpmn/features/copy-paste/data-associations.bpmn +61 -61
  182. package/test/fixtures/bpmn/features/copy-paste/properties.bpmn +43 -43
  183. package/test/fixtures/bpmn/features/drop/drop.bpmn +41 -41
  184. package/test/fixtures/bpmn/features/drop/recursive-task.bpmn +37 -37
  185. package/test/fixtures/bpmn/features/label-editing/labels.bpmn +178 -248
  186. package/test/fixtures/bpmn/features/modeling/update-label.bpmn +24 -24
  187. package/test/fixtures/bpmn/features/replace/01_replace.bpmn +193 -193
  188. package/test/fixtures/bpmn/features/replace/association-gateways.bpmn +173 -173
  189. package/test/fixtures/bpmn/features/replace/cancel-events.bpmn +49 -49
  190. package/test/fixtures/bpmn/features/replace/clone-properties.bpmn +141 -141
  191. package/test/fixtures/bpmn/features/replace/connection.bpmn +42 -42
  192. package/test/fixtures/bpmn/features/rules/event-based-gateway-outgoing-edge.bpmn +72 -72
  193. package/test/fixtures/bpmn/features/rules/link-event.bpmn +35 -35
  194. package/test/fixtures/bpmn/features/rules/text-annotation-association.bpmn +30 -30
  195. package/test/fixtures/bpmn/flow-markers.bpmn +212 -212
  196. package/test/fixtures/bpmn/import/boundaryEvent.bpmn +33 -33
  197. package/test/fixtures/bpmn/import/collaboration.bpmn +50 -50
  198. package/test/fixtures/bpmn/import/collapsed/collaboration.bpmn +76 -76
  199. package/test/fixtures/bpmn/import/collapsed/process.bpmn +84 -84
  200. package/test/fixtures/bpmn/import/collapsed/processWithChildren.bpmn +273 -273
  201. package/test/fixtures/bpmn/import/default-attrs.bpmn +24 -24
  202. package/test/fixtures/bpmn/import/error/boundaryEvent-invalidAttachToRef.bpmn +30 -30
  203. package/test/fixtures/bpmn/import/error/boundaryEvent-missingAttachToRef.bpmn +33 -33
  204. package/test/fixtures/bpmn/import/error/dangling-process-message-flow.bpmn +81 -81
  205. package/test/fixtures/bpmn/import/error/invalid-flow-element.bpmn +35 -35
  206. package/test/fixtures/bpmn/import/error/multiple-dis.bpmn +23 -23
  207. package/test/fixtures/bpmn/import/labels/collaboration-message-flows.bpmn +41 -41
  208. package/test/fixtures/bpmn/import/labels/collaboration.bpmn +72 -72
  209. package/test/fixtures/bpmn/import/labels/embedded.bpmn +39 -39
  210. package/test/fixtures/bpmn/import/labels/external-no-di.bpmn +42 -42
  211. package/test/fixtures/bpmn/import/labels/external.bpmn +69 -69
  212. package/test/fixtures/bpmn/import/position/position-testcase.bpmn +57 -57
  213. package/test/fixtures/bpmn/import/process.bpmn +60 -60
  214. package/test/fixtures/bpmn/nested-subprocesses.bpmn +118 -118
  215. package/test/fixtures/bpmn/sequence-flows.bpmn +60 -60
  216. package/test/fixtures/bpmn/simple-cropping.bpmn +84 -84
  217. package/test/fixtures/bpmn/simple-resizable.bpmn +50 -50
  218. package/test/fixtures/bpmn/simple.bpmn +60 -60
  219. package/test/fixtures/json/model/camunda.json +1042 -1042
  220. package/test/fixtures/json/model/custom-override.json +39 -39
  221. package/test/fixtures/json/model/custom.json +39 -39
  222. package/test/helper/TranslationCollector.js +17 -17
  223. package/test/helper/index.js +249 -249
  224. package/test/integration/CustomElementsSpec.js +223 -223
  225. package/test/integration/ReimportSpec.js +89 -89
  226. package/test/integration/SimpleModelingSpec.js +29 -29
  227. package/test/integration/custom-elements/CustomElementFactory.js +77 -77
  228. package/test/integration/custom-elements/CustomRenderer.js +151 -151
  229. package/test/integration/custom-elements/CustomRules.js +148 -148
  230. package/test/integration/custom-elements/CustomUpdater.js +115 -115
  231. package/test/integration/custom-elements/index.js +7 -7
  232. package/test/integration/model/BpmnModdleSpec.js +65 -65
  233. package/test/matchers/JSONMatcher.js +19 -19
  234. package/test/spec/ModelerSpec.js +401 -401
  235. package/test/spec/NavigatedViewerSpec.js +58 -58
  236. package/test/spec/ViewerSpec.js +977 -977
  237. package/test/spec/draw/BpmnRendererSpec.js +311 -311
  238. package/test/spec/environment/MockingSpec.js +53 -53
  239. package/test/spec/features/align-elements/BpmnAlignElementsSpec.js +137 -137
  240. package/test/spec/features/auto-resize/AutoResize.lanes.bpmn +54 -54
  241. package/test/spec/features/auto-resize/AutoResize.multi-selection.bpmn +22 -22
  242. package/test/spec/features/auto-resize/AutoResize.nested-sub-processes.bpmn +47 -47
  243. package/test/spec/features/auto-resize/AutoResize.participant.bpmn +38 -38
  244. package/test/spec/features/auto-resize/AutoResize.space-tool.bpmn +38 -38
  245. package/test/spec/features/auto-resize/AutoResize.sub-processes.bpmn +37 -37
  246. package/test/spec/features/auto-resize/AutoResizeSpec.js +607 -607
  247. package/test/spec/features/context-pad/ContextPad.activation.bpmn +51 -51
  248. package/test/spec/features/context-pad/ContextPadProviderSpec.js +440 -440
  249. package/test/spec/features/copy-paste/BpmnCopyPasteSpec.js +763 -725
  250. package/test/spec/features/copy-paste/DescriptorTree.js +58 -58
  251. package/test/spec/features/distribute-elements/BpmnDistributeElementsSpec.js +113 -113
  252. package/test/spec/features/editor-actions/BpmnEditorActionsSpec.js +72 -72
  253. package/test/spec/features/global-connect/BpmnGlobalConnectSpec.js +61 -61
  254. package/test/spec/features/keyboard/BpmnKeyBindingsSpec.js +142 -142
  255. package/test/spec/features/label-editing/LabelEditingPreviewSpec.js +133 -0
  256. package/test/spec/features/label-editing/LabelEditingProviderSpec.js +636 -601
  257. package/test/spec/features/label-editing/TouchIntegrationSpec.js +40 -40
  258. package/test/spec/features/modeling/AppendShapeSpec.js +332 -332
  259. package/test/spec/features/modeling/BendpointsSpec.js +25 -25
  260. package/test/spec/features/modeling/BpmnFactorySpec.js +73 -73
  261. package/test/spec/features/modeling/BpmnUpdater.bpmn +99 -99
  262. package/test/spec/features/modeling/BpmnUpdaterSpec.js +79 -79
  263. package/test/spec/features/modeling/CreateConnectionSpec.js +171 -171
  264. package/test/spec/features/modeling/DeleteConnectionSpec.js +75 -75
  265. package/test/spec/features/modeling/DeleteParticipantSpec.js +97 -97
  266. package/test/spec/features/modeling/DeleteShapeSpec.js +75 -75
  267. package/test/spec/features/modeling/DropSpec.js +123 -123
  268. package/test/spec/features/modeling/IdClaim.bpmn +13 -13
  269. package/test/spec/features/modeling/IdClaimSpec.js +50 -50
  270. package/test/spec/features/modeling/LabelBoundsSpec.js +342 -340
  271. package/test/spec/features/modeling/LabelBoundsSpec.simple.bpmn +27 -27
  272. package/test/spec/features/modeling/LabelLayouting.initial.bpmn +37 -37
  273. package/test/spec/features/modeling/LabelLayouting.move.bpmn +99 -99
  274. package/test/spec/features/modeling/LabelLayouting.special.bpmn +76 -76
  275. package/test/spec/features/modeling/LabelLayoutingSpec.js +603 -603
  276. package/test/spec/features/modeling/MoveConnectionSpec.js +101 -101
  277. package/test/spec/features/modeling/MoveElements.flow-collaboration.bpmn +45 -45
  278. package/test/spec/features/modeling/MoveElementsSpec.js +70 -70
  279. package/test/spec/features/modeling/MoveRulesSpec.js +151 -151
  280. package/test/spec/features/modeling/MoveShapeSpec.js +353 -353
  281. package/test/spec/features/modeling/ResizeShapeSpec.js +73 -73
  282. package/test/spec/features/modeling/SpaceToolSpec.js +251 -251
  283. package/test/spec/features/modeling/UpdateAttachmentSpec.js +96 -96
  284. package/test/spec/features/modeling/UpdateLabelSpec.js +130 -130
  285. package/test/spec/features/modeling/UpdatePropertiesSpec.js +503 -503
  286. package/test/spec/features/modeling/append/TextAnnotationSpec.js +136 -136
  287. package/test/spec/features/modeling/behavior/CompensationAssociationBehavior.bpmn +26 -26
  288. package/test/spec/features/modeling/behavior/CompensationAssociationBehaviorSpec.js +43 -43
  289. package/test/spec/features/modeling/behavior/CreateBoundaryEventBehaviorSpec.js +58 -58
  290. package/test/spec/features/modeling/behavior/CreateParticipantBehaviorSpec.js +224 -224
  291. package/test/spec/features/modeling/behavior/DataInputAssociationBehavior.bpmn +33 -33
  292. package/test/spec/features/modeling/behavior/DataInputAssociationBehaviorSpec.js +146 -146
  293. package/test/spec/features/modeling/behavior/DataObjectBehavior.create-data-association.bpmn +21 -21
  294. package/test/spec/features/modeling/behavior/DataObjectBehavior.data-object-reference.bpmn +13 -13
  295. package/test/spec/features/modeling/behavior/DataObjectBehavior.remove-data-association.bpmn +41 -41
  296. package/test/spec/features/modeling/behavior/DataObjectBehaviorSpec.js +297 -297
  297. package/test/spec/features/modeling/behavior/DataStoreBehavior.bpmn +26 -26
  298. package/test/spec/features/modeling/behavior/DataStoreBehavior.connect.bpmn +57 -57
  299. package/test/spec/features/modeling/behavior/DataStoreBehaviorSpec.js +228 -228
  300. package/test/spec/features/modeling/behavior/DropOnFlowBehavior.bpmn +71 -67
  301. package/test/spec/features/modeling/behavior/DropOnFlowBehaviorSpec.js +591 -418
  302. package/test/spec/features/modeling/behavior/ImportDockingFix.bpmn +61 -61
  303. package/test/spec/features/modeling/behavior/ImportDockingFixSpec.js +37 -37
  304. package/test/spec/features/modeling/behavior/LabelBehaviorSpec.js +277 -277
  305. package/test/spec/features/modeling/behavior/ReconnectConnection.data-association.bpmn +41 -41
  306. package/test/spec/features/modeling/behavior/ReconnectConnectionSpec.js +120 -120
  307. package/test/spec/features/modeling/behavior/RemoveElementBehavior.bpmn +181 -181
  308. package/test/spec/features/modeling/behavior/RemoveElementBehavior.perpendicular.bpmn +159 -159
  309. package/test/spec/features/modeling/behavior/RemoveElementBehaviorSpec.js +251 -251
  310. package/test/spec/features/modeling/behavior/RemoveParticipantBehaviorSpec.js +125 -125
  311. package/test/spec/features/modeling/behavior/ReplaceConnectionBehavior.association.bpmn +26 -26
  312. package/test/spec/features/modeling/behavior/ReplaceConnectionBehavior.boundary-events.bpmn +40 -40
  313. package/test/spec/features/modeling/behavior/ReplaceConnectionBehavior.message-sequence-flow.bpmn +121 -121
  314. package/test/spec/features/modeling/behavior/ReplaceConnectionBehaviorSpec.js +439 -439
  315. package/test/spec/features/modeling/behavior/ReplaceElementBehaviourSpec.js +450 -450
  316. package/test/spec/features/modeling/behavior/ToggleElementCollapseBehaviourSpec.js +653 -653
  317. package/test/spec/features/modeling/behavior/UnsetDefaultFlowBehaviorSpec.bpmn +48 -48
  318. package/test/spec/features/modeling/behavior/UnsetDefaultFlowBehaviorSpec.js +77 -77
  319. package/test/spec/features/modeling/behavior/util/GeometricUtilSpec.js +127 -127
  320. package/test/spec/features/modeling/behavior/util/LabelLayoutUtilSpec.js +75 -75
  321. package/test/spec/features/modeling/behavior/util/LineAttachmentUtilSpec.js +294 -294
  322. package/test/spec/features/modeling/behavior/util/LineIntersectSpec.js +32 -32
  323. package/test/spec/features/modeling/lanes/AddLaneSpec.js +263 -263
  324. package/test/spec/features/modeling/lanes/DeleteLaneSpec.js +126 -126
  325. package/test/spec/features/modeling/lanes/ResizeLaneSpec.js +366 -366
  326. package/test/spec/features/modeling/lanes/SplitLaneSpec.js +216 -216
  327. package/test/spec/features/modeling/lanes/UpdateFlowNodeRefsSpec.js +271 -271
  328. package/test/spec/features/modeling/lanes/flowNodeRefs.bpmn +56 -56
  329. package/test/spec/features/modeling/lanes/lanes.bpmn +83 -83
  330. package/test/spec/features/modeling/lanes/participant-lane.bpmn +27 -27
  331. package/test/spec/features/modeling/lanes/participant-no-lane.bpmn +22 -22
  332. package/test/spec/features/modeling/layout/Helper.js +64 -64
  333. package/test/spec/features/modeling/layout/LayoutAssociationSpec.js +101 -101
  334. package/test/spec/features/modeling/layout/LayoutConnectionSpec.js +98 -98
  335. package/test/spec/features/modeling/layout/LayoutDataAssociationSpec.js +98 -98
  336. package/test/spec/features/modeling/layout/LayoutMessageFlowSpec.bpmn +119 -119
  337. package/test/spec/features/modeling/layout/LayoutMessageFlowSpec.js +313 -313
  338. package/test/spec/features/modeling/layout/LayoutSequenceFlowSpec.boundaryEvents.bpmn +65 -65
  339. package/test/spec/features/modeling/layout/LayoutSequenceFlowSpec.flowElements.bpmn +70 -70
  340. package/test/spec/features/modeling/layout/LayoutSequenceFlowSpec.js +323 -323
  341. package/test/spec/features/ordering/BpmnOrderingProviderSpec.js +231 -231
  342. package/test/spec/features/ordering/Helper.js +185 -185
  343. package/test/spec/features/ordering/ordering-start-event.bpmn +17 -17
  344. package/test/spec/features/ordering/ordering-subprocesses.bpmn +41 -41
  345. package/test/spec/features/ordering/ordering.bpmn +105 -105
  346. package/test/spec/features/palette/PaletteProviderSpec.js +33 -33
  347. package/test/spec/features/popup-menu/ReplaceMenuProvider.collapsedSubProcess.bpmn +13 -13
  348. package/test/spec/features/popup-menu/ReplaceMenuProvider.compensation-activity.bpmn +12 -12
  349. package/test/spec/features/popup-menu/ReplaceMenuProvider.conditionalFlows.bpmn +66 -66
  350. package/test/spec/features/popup-menu/ReplaceMenuProvider.defaultFlows.bpmn +126 -126
  351. package/test/spec/features/popup-menu/ReplaceMenuProvider.defaultFlowsFromComplexGateways.bpmn +48 -48
  352. package/test/spec/features/popup-menu/ReplaceMenuProvider.defaultFlowsFromInclusiveGateways.bpmn +48 -48
  353. package/test/spec/features/popup-menu/ReplaceMenuProviderSpec.js +1957 -1957
  354. package/test/spec/features/replace/BpmnReplace.collaboration.bpmn +70 -70
  355. package/test/spec/features/replace/BpmnReplace.compensation.bpmn +12 -12
  356. package/test/spec/features/replace/BpmnReplace.eventSubProcesses.bpmn +126 -126
  357. package/test/spec/features/replace/BpmnReplaceSpec.js +1302 -1302
  358. package/test/spec/features/replace/ReplaceRulesSpec.js +78 -78
  359. package/test/spec/features/replace/SubProcess-collapsed.bpmn +36 -36
  360. package/test/spec/features/replace-preview/BpmnReplacePreviewSpec.js +304 -304
  361. package/test/spec/features/rules/BpmnRules.boundaryEvent.bpmn +93 -93
  362. package/test/spec/features/rules/BpmnRules.collaboration-dataAssociation.bpmn +35 -35
  363. package/test/spec/features/rules/BpmnRules.collaboration-lanes.bpmn +79 -79
  364. package/test/spec/features/rules/BpmnRules.collaboration.bpmn +138 -138
  365. package/test/spec/features/rules/BpmnRules.compensation.bpmn +65 -65
  366. package/test/spec/features/rules/BpmnRules.dataAssociation.bpmn +33 -33
  367. package/test/spec/features/rules/BpmnRules.eventBasedGateway.bpmn +82 -82
  368. package/test/spec/features/rules/BpmnRules.messageFlow.bpmn +27 -27
  369. package/test/spec/features/rules/BpmnRules.multiSelectionPools.bpmn +37 -37
  370. package/test/spec/features/rules/BpmnRules.process.bpmn +91 -91
  371. package/test/spec/features/rules/BpmnRules.subProcess-dataAssociation.bpmn +44 -44
  372. package/test/spec/features/rules/BpmnRulesSpec.js +1468 -1424
  373. package/test/spec/features/rules/Helper.js +82 -82
  374. package/test/spec/features/search/BpmnSearchProviderSpec.js +158 -158
  375. package/test/spec/features/search/bpmn-search-collaboration.bpmn +106 -106
  376. package/test/spec/features/search/bpmn-search.bpmn +100 -100
  377. package/test/spec/features/snapping/BpmnSnapping.connect.bpmn +36 -36
  378. package/test/spec/features/snapping/BpmnSnapping.labels.bpmn +27 -27
  379. package/test/spec/features/snapping/BpmnSnapping.lanes-resize.bpmn +43 -43
  380. package/test/spec/features/snapping/BpmnSnapping.participant-resize.bpmn +50 -50
  381. package/test/spec/features/snapping/BpmnSnapping.sequenceFlow.bpmn +41 -0
  382. package/test/spec/features/snapping/BpmnSnapping.subProcess-resize.bpmn +21 -21
  383. package/test/spec/features/snapping/BpmnSnapping.textAnnotation-resize.bpmn +22 -22
  384. package/test/spec/features/snapping/BpmnSnappingSpec.js +824 -758
  385. package/test/spec/features/snapping/BpmnSnappingUtil.lanes-flowNodes.bpmn +82 -82
  386. package/test/spec/features/snapping/BpmnSnappingUtil.lanes.bpmn +35 -35
  387. package/test/spec/features/snapping/BpmnSnappingUtilSpec.js +285 -285
  388. package/test/spec/i18n/custom-translate/custom-translate.js +14 -14
  389. package/test/spec/i18n/custom-translate/index.js +2 -2
  390. package/test/spec/i18n/translateSpec.js +56 -56
  391. package/test/spec/import/ImporterSpec.js +428 -428
  392. package/test/spec/import/ModelWiringSpec.js +194 -194
  393. package/test/spec/import/elements/AssociationSpec.collaboration.bpmn +51 -51
  394. package/test/spec/import/elements/AssociationSpec.compensation.bpmn +28 -28
  395. package/test/spec/import/elements/AssociationSpec.data-association.bpmn +39 -39
  396. package/test/spec/import/elements/AssociationSpec.data-input-output.bpmn +40 -40
  397. package/test/spec/import/elements/AssociationSpec.events.bpmn +51 -51
  398. package/test/spec/import/elements/AssociationSpec.js +175 -175
  399. package/test/spec/import/elements/AssociationSpec.text-annotation.bpmn +37 -37
  400. package/test/spec/import/elements/CollapsedSpec.js +118 -118
  401. package/test/spec/import/elements/LabelSpec.js +85 -85
  402. package/test/spec/import/lane-flowNodes.bpmn +44 -44
  403. package/test/spec/import/lane-missing-flowNodeRef.bpmn +24 -24
  404. package/test/spec/util/ModelCloneHelperSpec.js +381 -381
  405. package/test/spec/util/ModelUtilSpec.js +65 -65
  406. package/test/spec/util/camunda-moddle.js +70 -70
  407. package/test/util/MockEvents.js +62 -62
  408. package/test/util/ModelingUtil.js +117 -117
  409. package/test/util/custom-rules/CustomRules.js +18 -18
  410. package/test/util/custom-rules/index.js +4 -4
@@ -1,248 +1,178 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="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="_w9Yc0PLSEeOqh_cnoUOA7A" targetNamespace="http://activiti.org/bpmn" exporter="Camunda Modeler" exporterVersion="1.4.0-nightly" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
3
- <bpmn2:collaboration id="_Collaboration_2">
4
- <bpmn2:participant id="expanded-pool" name="A" processRef="Process_1" />
5
- <bpmn2:participant id="collapsed-pool" name="A" />
6
- <bpmn2:messageFlow id="message-flow" name="A" sourceRef="task-nested-embedded" targetRef="collapsed-pool" />
7
- <bpmn2:messageFlow id="message-flow-unlabeled" name="" sourceRef="collapsed-pool" targetRef="expanded-pool" />
8
- <bpmn2:textAnnotation id="text-annotation"> <bpmn2:text>A</bpmn2:text>
9
- </bpmn2:textAnnotation>
10
- </bpmn2:collaboration>
11
- <bpmn2:process id="Process_1" isExecutable="false">
12
- <bpmn2:ioSpecification id="InputOutputSpecification_1">
13
- <bpmn2:dataInput id="data-input" />
14
- <bpmn2:dataOutput id="data-output" />
15
- </bpmn2:ioSpecification>
16
- <bpmn2:laneSet id="LaneSet_1" name="Lane Set 1">
17
- <bpmn2:lane id="lane-1" name="A">
18
- <bpmn2:flowNodeRef>intermediate-throw-event</bpmn2:flowNodeRef>
19
- <bpmn2:flowNodeRef>empty-task</bpmn2:flowNodeRef>
20
- <bpmn2:childLaneSet xsi:type="bpmn2:tLaneSet" id="LaneSet_2">
21
- <bpmn2:lane id="nested-lane-1-1" name="A">
22
- <bpmn2:flowNodeRef>start-event</bpmn2:flowNodeRef>
23
- <bpmn2:flowNodeRef>exclusive-gateway</bpmn2:flowNodeRef>
24
- <bpmn2:flowNodeRef>intermediate-throw-event</bpmn2:flowNodeRef>
25
- <bpmn2:flowNodeRef>empty-task</bpmn2:flowNodeRef>
26
- </bpmn2:lane>
27
- <bpmn2:lane id="nested-lane-1-2" name="A">
28
- <bpmn2:flowNodeRef>call-activity</bpmn2:flowNodeRef>
29
- <bpmn2:flowNodeRef>user-task</bpmn2:flowNodeRef>
30
- </bpmn2:lane>
31
- </bpmn2:childLaneSet>
32
- </bpmn2:lane>
33
- <bpmn2:lane id="lane-2" name="A">
34
- <bpmn2:childLaneSet xsi:type="bpmn2:tLaneSet" id="LaneSet_3">
35
- <bpmn2:lane id="nested-lane-no-label" name="">
36
- <bpmn2:flowNodeRef>subprocess-expanded</bpmn2:flowNodeRef>
37
- <bpmn2:flowNodeRef>subprocess-collapsed</bpmn2:flowNodeRef>
38
- </bpmn2:lane>
39
- </bpmn2:childLaneSet>
40
- </bpmn2:lane>
41
- </bpmn2:laneSet>
42
- <bpmn2:subProcess id="subprocess-expanded" name="A">
43
- <bpmn2:dataInputAssociation id="DataInputAssociation_1">
44
- <bpmn2:sourceRef>data-input</bpmn2:sourceRef>
45
- </bpmn2:dataInputAssociation>
46
- <bpmn2:dataOutputAssociation id="DataOutputAssociation_1">
47
- <bpmn2:targetRef>data-output</bpmn2:targetRef>
48
- </bpmn2:dataOutputAssociation>
49
- <bpmn2:task id="task-nested-embedded" name="A" />
50
- </bpmn2:subProcess>
51
- <bpmn2:subProcess id="subprocess-collapsed" name="A" triggeredByEvent="true">
52
- <bpmn2:dataInputAssociation id="DataInputAssociation_2">
53
- <bpmn2:sourceRef>data-store-reference</bpmn2:sourceRef>
54
- </bpmn2:dataInputAssociation>
55
- <bpmn2:startEvent id="nested-embedded-start-event" name="start event" isInterrupting="false" />
56
- </bpmn2:subProcess>
57
- <bpmn2:callActivity id="call-activity" name="A">
58
- <bpmn2:incoming>sequence-flow-no</bpmn2:incoming>
59
- </bpmn2:callActivity>
60
- <bpmn2:userTask id="user-task" name="A" />
61
- <bpmn2:boundaryEvent id="boundary-event" name="A" attachedToRef="user-task" />
62
- <bpmn2:startEvent id="start-event">
63
- <bpmn2:outgoing>sequenceflow-unlabeled</bpmn2:outgoing>
64
- </bpmn2:startEvent>
65
- <bpmn2:sequenceFlow id="sequenceflow-unlabeled" name="" sourceRef="start-event" targetRef="exclusive-gateway" />
66
- <bpmn2:exclusiveGateway id="exclusive-gateway" name="A">
67
- <bpmn2:incoming>sequenceflow-unlabeled</bpmn2:incoming>
68
- <bpmn2:outgoing>sequence-flow-no</bpmn2:outgoing>
69
- <bpmn2:outgoing>sequence-flow-yes</bpmn2:outgoing>
70
- </bpmn2:exclusiveGateway>
71
- <bpmn2:sequenceFlow id="sequence-flow-no" name="A" sourceRef="exclusive-gateway" targetRef="call-activity" />
72
- <bpmn2:sequenceFlow id="sequence-flow-yes" name="A" sourceRef="exclusive-gateway" targetRef="intermediate-throw-event" />
73
- <bpmn2:dataStoreReference id="data-store-reference" name="A" dataStoreRef="DataStore_1" />
74
- <bpmn2:dataObject id="DataObject_1" name="Data Object 1" />
75
- <bpmn2:dataObjectReference id="data-object-reference" name="A" dataObjectRef="DataObject_1" />
76
- <bpmn2:intermediateThrowEvent id="intermediate-throw-event" name="A">
77
- <bpmn2:incoming>sequence-flow-yes</bpmn2:incoming>
78
- <bpmn2:outgoing>SequenceFlow_1r751z0</bpmn2:outgoing>
79
- </bpmn2:intermediateThrowEvent>
80
- <bpmn2:task id="empty-task">
81
- <bpmn2:incoming>SequenceFlow_1r751z0</bpmn2:incoming>
82
- </bpmn2:task>
83
- <bpmn2:sequenceFlow id="SequenceFlow_1r751z0" sourceRef="intermediate-throw-event" targetRef="empty-task" />
84
- <bpmn2:association id="Association_1" sourceRef="text-annotation" targetRef="subprocess-expanded" />
85
- </bpmn2:process>
86
- <bpmn2:dataStore id="DataStore_1" name="Data Store 1" />
87
- <bpmndi:BPMNDiagram id="BPMNDiagram_1">
88
- <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="_Collaboration_2">
89
- <bpmndi:BPMNShape id="_BPMNShape_Participant_2" bpmnElement="expanded-pool" isHorizontal="true">
90
- <dc:Bounds x="60" y="48" width="540" height="613" />
91
- </bpmndi:BPMNShape>
92
- <bpmndi:BPMNShape id="_BPMNShape_Lane_2" bpmnElement="lane-1" isHorizontal="true">
93
- <dc:Bounds x="90" y="48" width="510" height="277" />
94
- </bpmndi:BPMNShape>
95
- <bpmndi:BPMNShape id="_BPMNShape_Lane_3" bpmnElement="nested-lane-1-1" isHorizontal="true">
96
- <dc:Bounds x="120" y="48" width="480" height="133" />
97
- </bpmndi:BPMNShape>
98
- <bpmndi:BPMNShape id="_BPMNShape_Lane_4" bpmnElement="nested-lane-1-2" isHorizontal="true">
99
- <dc:Bounds x="120" y="180" width="480" height="145" />
100
- </bpmndi:BPMNShape>
101
- <bpmndi:BPMNShape id="_BPMNShape_Lane_5" bpmnElement="lane-2" isHorizontal="true">
102
- <dc:Bounds x="90" y="324" width="510" height="337" />
103
- </bpmndi:BPMNShape>
104
- <bpmndi:BPMNShape id="_BPMNShape_Lane_6" bpmnElement="nested-lane-no-label" isHorizontal="true">
105
- <dc:Bounds x="120" y="324" width="480" height="337" />
106
- </bpmndi:BPMNShape>
107
- <bpmndi:BPMNShape id="_BPMNShape_SubProcess_2" bpmnElement="subprocess-expanded" isExpanded="true">
108
- <dc:Bounds x="359" y="364" width="200" height="150" />
109
- </bpmndi:BPMNShape>
110
- <bpmndi:BPMNShape id="_BPMNShape_SubProcess_3" bpmnElement="subprocess-collapsed">
111
- <dc:Bounds x="156" y="364" width="100" height="80" />
112
- </bpmndi:BPMNShape>
113
- <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="nested-embedded-start-event">
114
- <dc:Bounds x="188" y="386" width="36" height="36" />
115
- <bpmndi:BPMNLabel>
116
- <dc:Bounds x="173" y="427" width="66" height="22" />
117
- </bpmndi:BPMNLabel>
118
- </bpmndi:BPMNShape>
119
- <bpmndi:BPMNShape id="_BPMNShape_Task_2" bpmnElement="task-nested-embedded">
120
- <dc:Bounds x="432" y="408" width="100" height="80" />
121
- </bpmndi:BPMNShape>
122
- <bpmndi:BPMNShape id="_BPMNShape_Participant_3" bpmnElement="collapsed-pool" isHorizontal="true">
123
- <dc:Bounds x="672" y="336" width="385" height="100" />
124
- </bpmndi:BPMNShape>
125
- <bpmndi:BPMNShape id="_BPMNShape_TextAnnotation_2" bpmnElement="text-annotation">
126
- <dc:Bounds x="60" y="669" width="147" height="98" />
127
- </bpmndi:BPMNShape>
128
- <bpmndi:BPMNEdge id="BPMNEdge_Association_1" bpmnElement="Association_1" sourceElement="_BPMNShape_TextAnnotation_2" targetElement="_BPMNShape_SubProcess_2">
129
- <di:waypoint xsi:type="dc:Point" x="190" y="669" />
130
- <di:waypoint xsi:type="dc:Point" x="371" y="514" />
131
- </bpmndi:BPMNEdge>
132
- <bpmndi:BPMNShape id="_BPMNShape_CallActivity_2" bpmnElement="call-activity">
133
- <dc:Bounds x="422" y="202" width="100" height="80" />
134
- </bpmndi:BPMNShape>
135
- <bpmndi:BPMNShape id="_BPMNShape_StartEvent_3" bpmnElement="start-event">
136
- <dc:Bounds x="168" y="96" width="36" height="36" />
137
- <bpmndi:BPMNLabel>
138
- <dc:Bounds x="153" y="137" width="66" height="22" />
139
- </bpmndi:BPMNLabel>
140
- </bpmndi:BPMNShape>
141
- <bpmndi:BPMNShape id="_BPMNShape_IntermediateThrowEvent_2" bpmnElement="intermediate-throw-event">
142
- <dc:Bounds x="397" y="96" width="36" height="36" />
143
- <bpmndi:BPMNLabel>
144
- <dc:Bounds x="371" y="137" width="90" height="38" />
145
- </bpmndi:BPMNLabel>
146
- </bpmndi:BPMNShape>
147
- <bpmndi:BPMNShape id="_BPMNShape_UserTask_2" bpmnElement="user-task">
148
- <dc:Bounds x="180" y="192" width="100" height="80" />
149
- </bpmndi:BPMNShape>
150
- <bpmndi:BPMNShape id="_BPMNShape_BoundaryEvent_2" bpmnElement="boundary-event">
151
- <dc:Bounds x="228" y="254" width="36" height="36" />
152
- <bpmndi:BPMNLabel>
153
- <dc:Bounds x="200" y="295" width="93" height="22" />
154
- </bpmndi:BPMNLabel>
155
- </bpmndi:BPMNShape>
156
- <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_2" bpmnElement="exclusive-gateway" isMarkerVisible="true">
157
- <dc:Bounds x="312" y="89" width="50" height="50" />
158
- <bpmndi:BPMNLabel>
159
- <dc:Bounds x="306" y="48" width="64" height="38" />
160
- </bpmndi:BPMNLabel>
161
- </bpmndi:BPMNShape>
162
- <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="sequenceflow-unlabeled" sourceElement="_BPMNShape_StartEvent_3" targetElement="_BPMNShape_ExclusiveGateway_2">
163
- <di:waypoint xsi:type="dc:Point" x="204" y="114" />
164
- <di:waypoint xsi:type="dc:Point" x="312" y="114" />
165
- <bpmndi:BPMNLabel>
166
- <dc:Bounds x="243" y="114" width="6" height="6" />
167
- </bpmndi:BPMNLabel>
168
- </bpmndi:BPMNEdge>
169
- <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="sequence-flow-no" sourceElement="_BPMNShape_ExclusiveGateway_2" targetElement="_BPMNShape_CallActivity_2">
170
- <di:waypoint xsi:type="dc:Point" x="337" y="139" />
171
- <di:waypoint xsi:type="dc:Point" x="337" y="242" />
172
- <di:waypoint xsi:type="dc:Point" x="422" y="242" />
173
- <bpmndi:BPMNLabel>
174
- <dc:Bounds x="342" y="204" width="20" height="22" />
175
- </bpmndi:BPMNLabel>
176
- </bpmndi:BPMNEdge>
177
- <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="sequence-flow-yes" sourceElement="_BPMNShape_ExclusiveGateway_2" targetElement="_BPMNShape_IntermediateThrowEvent_2">
178
- <di:waypoint xsi:type="dc:Point" x="362" y="114" />
179
- <di:waypoint xsi:type="dc:Point" x="397" y="114" />
180
- <bpmndi:BPMNLabel>
181
- <dc:Bounds x="335.49989765458423" y="114" width="90" height="22" />
182
- </bpmndi:BPMNLabel>
183
- </bpmndi:BPMNEdge>
184
- <bpmndi:BPMNEdge id="BPMNEdge_MessageFlow_1" bpmnElement="message-flow" sourceElement="_BPMNShape_Task_2" targetElement="_BPMNShape_Participant_3">
185
- <di:waypoint xsi:type="dc:Point" x="532" y="448" />
186
- <di:waypoint xsi:type="dc:Point" x="632" y="448" />
187
- <di:waypoint xsi:type="dc:Point" x="632" y="386" />
188
- <di:waypoint xsi:type="dc:Point" x="672" y="386" />
189
- <bpmndi:BPMNLabel>
190
- <dc:Bounds x="612" y="456" width="91" height="38" />
191
- </bpmndi:BPMNLabel>
192
- </bpmndi:BPMNEdge>
193
- <bpmndi:BPMNShape id="_BPMNShape_DataStoreReference_2" bpmnElement="data-store-reference">
194
- <dc:Bounds x="156" y="547" width="50" height="50" />
195
- <bpmndi:BPMNLabel>
196
- <dc:Bounds x="149" y="602" width="64" height="22" />
197
- </bpmndi:BPMNLabel>
198
- </bpmndi:BPMNShape>
199
- <bpmndi:BPMNShape id="_BPMNShape_DataObjectReference_2" bpmnElement="data-object-reference">
200
- <dc:Bounds x="267" y="547" width="36" height="50" />
201
- <bpmndi:BPMNLabel>
202
- <dc:Bounds x="245" y="602" width="80" height="38" />
203
- </bpmndi:BPMNLabel>
204
- </bpmndi:BPMNShape>
205
- <bpmndi:BPMNShape id="_BPMNShape_DataInput_2" bpmnElement="data-input">
206
- <dc:Bounds x="372" y="547" width="36" height="50" />
207
- <bpmndi:BPMNLabel>
208
- <dc:Bounds x="390" y="602" width="0" height="0" />
209
- </bpmndi:BPMNLabel>
210
- </bpmndi:BPMNShape>
211
- <bpmndi:BPMNShape id="_BPMNShape_DataOutput_2" bpmnElement="data-output">
212
- <dc:Bounds x="504" y="547" width="36" height="50" />
213
- <bpmndi:BPMNLabel>
214
- <dc:Bounds x="522" y="602" width="0" height="0" />
215
- </bpmndi:BPMNLabel>
216
- </bpmndi:BPMNShape>
217
- <bpmndi:BPMNEdge id="BPMNEdge_DataInputAssociation_1" bpmnElement="DataInputAssociation_1" sourceElement="_BPMNShape_DataInput_2" targetElement="_BPMNShape_SubProcess_2">
218
- <di:waypoint xsi:type="dc:Point" x="403" y="547" />
219
- <di:waypoint xsi:type="dc:Point" x="420" y="514" />
220
- </bpmndi:BPMNEdge>
221
- <bpmndi:BPMNEdge id="BPMNEdge_DataOutputAssociation_1" bpmnElement="DataOutputAssociation_1" sourceElement="_BPMNShape_SubProcess_2" targetElement="_BPMNShape_DataOutput_2">
222
- <di:waypoint xsi:type="dc:Point" x="495" y="514" />
223
- <di:waypoint xsi:type="dc:Point" x="510" y="547" />
224
- </bpmndi:BPMNEdge>
225
- <bpmndi:BPMNEdge id="BPMNEdge_DataInputAssociation_2" bpmnElement="DataInputAssociation_2" sourceElement="_BPMNShape_DataStoreReference_2" targetElement="_BPMNShape_SubProcess_3">
226
- <di:waypoint xsi:type="dc:Point" x="185" y="547" />
227
- <di:waypoint xsi:type="dc:Point" x="200" y="444" />
228
- </bpmndi:BPMNEdge>
229
- <bpmndi:BPMNEdge id="BPMNEdge_MessageFlow_2" bpmnElement="message-flow-unlabeled" sourceElement="_BPMNShape_Participant_3" targetElement="_BPMNShape_Participant_2">
230
- <di:waypoint xsi:type="dc:Point" x="672" y="386" />
231
- <di:waypoint xsi:type="dc:Point" x="600" y="386" />
232
- <bpmndi:BPMNLabel>
233
- <dc:Bounds x="591" y="368" width="90" height="6" />
234
- </bpmndi:BPMNLabel>
235
- </bpmndi:BPMNEdge>
236
- <bpmndi:BPMNShape id="Task_0da8ze1_di" bpmnElement="empty-task">
237
- <dc:Bounds x="472" y="74" width="100" height="80" />
238
- </bpmndi:BPMNShape>
239
- <bpmndi:BPMNEdge id="SequenceFlow_1r751z0_di" bpmnElement="SequenceFlow_1r751z0">
240
- <di:waypoint xsi:type="dc:Point" x="433" y="114" />
241
- <di:waypoint xsi:type="dc:Point" x="472" y="114" />
242
- <bpmndi:BPMNLabel>
243
- <dc:Bounds x="407.5" y="89" width="90" height="20" />
244
- </bpmndi:BPMNLabel>
245
- </bpmndi:BPMNEdge>
246
- </bpmndi:BPMNPlane>
247
- </bpmndi:BPMNDiagram>
248
- </bpmn2:definitions>
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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.6.0">
3
+ <bpmn:collaboration id="Collaboration_1o0amh9">
4
+ <bpmn:participant id="Participant_1" name="FOO BAR" processRef="Process_1" />
5
+ <bpmn:participant id="Participant_2" />
6
+ <bpmn:messageFlow id="MessageFlow_1" name="FOO" sourceRef="Task_1fo1fvh" targetRef="Participant_2" />
7
+ <bpmn:textAnnotation id="TextAnnotation_1"> <bpmn:text>FOO</bpmn:text>
8
+ </bpmn:textAnnotation>
9
+ </bpmn:collaboration>
10
+ <bpmn:process id="Process_1" isExecutable="false">
11
+ <bpmn:laneSet>
12
+ <bpmn:lane id="Lane_2">
13
+ <bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
14
+ <bpmn:flowNodeRef>SubProcess_1</bpmn:flowNodeRef>
15
+ </bpmn:lane>
16
+ <bpmn:lane id="Lane_1" name="FOO BAR">
17
+ <bpmn:flowNodeRef>Task_1</bpmn:flowNodeRef>
18
+ <bpmn:flowNodeRef>StartEvent_08jn2xd</bpmn:flowNodeRef>
19
+ <bpmn:flowNodeRef>Task_1fo1fvh</bpmn:flowNodeRef>
20
+ <bpmn:flowNodeRef>ExclusiveGateway_1</bpmn:flowNodeRef>
21
+ <bpmn:flowNodeRef>EndEvent_1</bpmn:flowNodeRef>
22
+ </bpmn:lane>
23
+ </bpmn:laneSet>
24
+ <bpmn:startEvent id="StartEvent_1" name="FOO">
25
+ <bpmn:outgoing>SequenceFlow_2</bpmn:outgoing>
26
+ </bpmn:startEvent>
27
+ <bpmn:sequenceFlow id="SequenceFlow_2" sourceRef="StartEvent_1" targetRef="SubProcess_1" />
28
+ <bpmn:subProcess id="SubProcess_1" name="FOO">
29
+ <bpmn:incoming>SequenceFlow_2</bpmn:incoming>
30
+ <bpmn:outgoing>SequenceFlow_14kuv1e</bpmn:outgoing>
31
+ </bpmn:subProcess>
32
+ <bpmn:startEvent id="StartEvent_08jn2xd" name="FOO&#10;BAR">
33
+ <bpmn:outgoing>SequenceFlow_1</bpmn:outgoing>
34
+ </bpmn:startEvent>
35
+ <bpmn:task id="Task_1" name="FOO">
36
+ <bpmn:incoming>SequenceFlow_1</bpmn:incoming>
37
+ <bpmn:incoming>SequenceFlow_14kuv1e</bpmn:incoming>
38
+ <bpmn:outgoing>SequenceFlow_13rjp44</bpmn:outgoing>
39
+ <bpmn:outgoing>SequenceFlow_0kmqqm9</bpmn:outgoing>
40
+ </bpmn:task>
41
+ <bpmn:sequenceFlow id="SequenceFlow_1" name="FOO" sourceRef="StartEvent_08jn2xd" targetRef="Task_1" />
42
+ <bpmn:sequenceFlow id="SequenceFlow_14kuv1e" sourceRef="SubProcess_1" targetRef="Task_1" />
43
+ <bpmn:task id="Task_1fo1fvh" name="FOO&#10;BAR">
44
+ <bpmn:incoming>SequenceFlow_13rjp44</bpmn:incoming>
45
+ <bpmn:outgoing>SequenceFlow_1h7vuvi</bpmn:outgoing>
46
+ </bpmn:task>
47
+ <bpmn:sequenceFlow id="SequenceFlow_13rjp44" sourceRef="Task_1" targetRef="Task_1fo1fvh" />
48
+ <bpmn:exclusiveGateway id="ExclusiveGateway_1" name="FOO">
49
+ <bpmn:incoming>SequenceFlow_1h7vuvi</bpmn:incoming>
50
+ </bpmn:exclusiveGateway>
51
+ <bpmn:sequenceFlow id="SequenceFlow_1h7vuvi" sourceRef="Task_1fo1fvh" targetRef="ExclusiveGateway_1" />
52
+ <bpmn:endEvent id="EndEvent_1">
53
+ <bpmn:incoming>SequenceFlow_0kmqqm9</bpmn:incoming>
54
+ </bpmn:endEvent>
55
+ <bpmn:sequenceFlow id="SequenceFlow_0kmqqm9" sourceRef="Task_1" targetRef="EndEvent_1" />
56
+ <bpmn:dataObjectReference id="DataObjectReference_1" dataObjectRef="DataObject_1rq8hb8" />
57
+ <bpmn:dataObject id="DataObject_1rq8hb8" />
58
+ <bpmn:dataStoreReference id="DataStoreReference_1" />
59
+ <bpmn:association id="Association_0ckvfj2" sourceRef="SubProcess_1" targetRef="TextAnnotation_1" />
60
+ </bpmn:process>
61
+ <bpmndi:BPMNDiagram id="BPMNDiagram_1">
62
+ <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1o0amh9">
63
+ <bpmndi:BPMNShape id="Participant_15tkgjw_di" bpmnElement="Participant_1">
64
+ <dc:Bounds x="160" y="122" width="600" height="477" />
65
+ </bpmndi:BPMNShape>
66
+ <bpmndi:BPMNShape id="Lane_00fz5ca_di" bpmnElement="Lane_2">
67
+ <dc:Bounds x="190" y="122" width="570" height="250" />
68
+ </bpmndi:BPMNShape>
69
+ <bpmndi:BPMNShape id="Lane_1qi2aws_di" bpmnElement="Lane_1">
70
+ <dc:Bounds x="190" y="372" width="570" height="227" />
71
+ </bpmndi:BPMNShape>
72
+ <bpmndi:BPMNShape id="SubProcess_194zznr_di" bpmnElement="SubProcess_1" isExpanded="true">
73
+ <dc:Bounds x="311" y="147" width="350" height="200" />
74
+ </bpmndi:BPMNShape>
75
+ <bpmndi:BPMNShape id="StartEvent_0909sti_di" bpmnElement="StartEvent_1">
76
+ <dc:Bounds x="223" y="229" width="36" height="36" />
77
+ <bpmndi:BPMNLabel>
78
+ <dc:Bounds x="228" y="265" width="25" height="12" />
79
+ </bpmndi:BPMNLabel>
80
+ </bpmndi:BPMNShape>
81
+ <bpmndi:BPMNEdge id="SequenceFlow_140ewlr_di" bpmnElement="SequenceFlow_2">
82
+ <di:waypoint xsi:type="dc:Point" x="259" y="247" />
83
+ <di:waypoint xsi:type="dc:Point" x="311" y="247" />
84
+ <bpmndi:BPMNLabel>
85
+ <dc:Bounds x="285" y="232" width="0" height="0" />
86
+ </bpmndi:BPMNLabel>
87
+ </bpmndi:BPMNEdge>
88
+ <bpmndi:BPMNShape id="TextAnnotation_0vwfagl_di" bpmnElement="TextAnnotation_1">
89
+ <dc:Bounds x="814" y="122" width="100" height="30" />
90
+ </bpmndi:BPMNShape>
91
+ <bpmndi:BPMNEdge id="Association_0ckvfj2_di" bpmnElement="Association_0ckvfj2">
92
+ <di:waypoint xsi:type="dc:Point" x="661" y="196" />
93
+ <di:waypoint xsi:type="dc:Point" x="814" y="152" />
94
+ </bpmndi:BPMNEdge>
95
+ <bpmndi:BPMNShape id="StartEvent_08jn2xd_di" bpmnElement="StartEvent_08jn2xd">
96
+ <dc:Bounds x="223" y="416" width="36" height="36" />
97
+ <bpmndi:BPMNLabel>
98
+ <dc:Bounds x="228" y="452" width="25" height="24" />
99
+ </bpmndi:BPMNLabel>
100
+ </bpmndi:BPMNShape>
101
+ <bpmndi:BPMNShape id="Task_1i068gk_di" bpmnElement="Task_1">
102
+ <dc:Bounds x="436" y="394" width="100" height="80" />
103
+ </bpmndi:BPMNShape>
104
+ <bpmndi:BPMNEdge id="SequenceFlow_088kva8_di" bpmnElement="SequenceFlow_1">
105
+ <di:waypoint xsi:type="dc:Point" x="259" y="434" />
106
+ <di:waypoint xsi:type="dc:Point" x="436" y="434" />
107
+ <bpmndi:BPMNLabel>
108
+ <dc:Bounds x="335" y="409" width="25" height="12" />
109
+ </bpmndi:BPMNLabel>
110
+ </bpmndi:BPMNEdge>
111
+ <bpmndi:BPMNEdge id="SequenceFlow_14kuv1e_di" bpmnElement="SequenceFlow_14kuv1e">
112
+ <di:waypoint xsi:type="dc:Point" x="486" y="347" />
113
+ <di:waypoint xsi:type="dc:Point" x="486" y="394" />
114
+ <bpmndi:BPMNLabel>
115
+ <dc:Bounds x="501" y="360.5" width="0" height="0" />
116
+ </bpmndi:BPMNLabel>
117
+ </bpmndi:BPMNEdge>
118
+ <bpmndi:BPMNShape id="Task_1fo1fvh_di" bpmnElement="Task_1fo1fvh">
119
+ <dc:Bounds x="436" y="500" width="100" height="80" />
120
+ </bpmndi:BPMNShape>
121
+ <bpmndi:BPMNEdge id="SequenceFlow_13rjp44_di" bpmnElement="SequenceFlow_13rjp44">
122
+ <di:waypoint xsi:type="dc:Point" x="486" y="474" />
123
+ <di:waypoint xsi:type="dc:Point" x="486" y="500" />
124
+ <bpmndi:BPMNLabel>
125
+ <dc:Bounds x="501" y="477" width="0" height="0" />
126
+ </bpmndi:BPMNLabel>
127
+ </bpmndi:BPMNEdge>
128
+ <bpmndi:BPMNShape id="ExclusiveGateway_1dulwbf_di" bpmnElement="ExclusiveGateway_1" isMarkerVisible="true">
129
+ <dc:Bounds x="578" y="515" width="50" height="50" />
130
+ <bpmndi:BPMNLabel>
131
+ <dc:Bounds x="590" y="565" width="25" height="12" />
132
+ </bpmndi:BPMNLabel>
133
+ </bpmndi:BPMNShape>
134
+ <bpmndi:BPMNEdge id="SequenceFlow_1h7vuvi_di" bpmnElement="SequenceFlow_1h7vuvi">
135
+ <di:waypoint xsi:type="dc:Point" x="536" y="540" />
136
+ <di:waypoint xsi:type="dc:Point" x="578" y="540" />
137
+ <bpmndi:BPMNLabel>
138
+ <dc:Bounds x="557" y="515" width="0" height="0" />
139
+ </bpmndi:BPMNLabel>
140
+ </bpmndi:BPMNEdge>
141
+ <bpmndi:BPMNShape id="EndEvent_0c4s9zs_di" bpmnElement="EndEvent_1">
142
+ <dc:Bounds x="585" y="416" width="36" height="36" />
143
+ <bpmndi:BPMNLabel>
144
+ <dc:Bounds x="603" y="452" width="0" height="0" />
145
+ </bpmndi:BPMNLabel>
146
+ </bpmndi:BPMNShape>
147
+ <bpmndi:BPMNEdge id="SequenceFlow_0kmqqm9_di" bpmnElement="SequenceFlow_0kmqqm9">
148
+ <di:waypoint xsi:type="dc:Point" x="536" y="434" />
149
+ <di:waypoint xsi:type="dc:Point" x="585" y="434" />
150
+ <bpmndi:BPMNLabel>
151
+ <dc:Bounds x="561" y="409" width="0" height="0" />
152
+ </bpmndi:BPMNLabel>
153
+ </bpmndi:BPMNEdge>
154
+ <bpmndi:BPMNShape id="DataObjectReference_024w45b_di" bpmnElement="DataObjectReference_1">
155
+ <dc:Bounds x="223" y="515" width="36" height="50" />
156
+ <bpmndi:BPMNLabel>
157
+ <dc:Bounds x="241" y="565" width="0" height="0" />
158
+ </bpmndi:BPMNLabel>
159
+ </bpmndi:BPMNShape>
160
+ <bpmndi:BPMNShape id="DataStoreReference_0b4jv9b_di" bpmnElement="DataStoreReference_1">
161
+ <dc:Bounds x="315.54926829268294" y="515" width="50" height="50" />
162
+ <bpmndi:BPMNLabel>
163
+ <dc:Bounds x="341" y="565" width="0" height="0" />
164
+ </bpmndi:BPMNLabel>
165
+ </bpmndi:BPMNShape>
166
+ <bpmndi:BPMNEdge id="MessageFlow_0pmpiw7_di" bpmnElement="MessageFlow_1">
167
+ <di:waypoint xsi:type="dc:Point" x="486" y="580" />
168
+ <di:waypoint xsi:type="dc:Point" x="486" y="646" />
169
+ <bpmndi:BPMNLabel>
170
+ <dc:Bounds x="488" y="603" width="25" height="13" />
171
+ </bpmndi:BPMNLabel>
172
+ </bpmndi:BPMNEdge>
173
+ <bpmndi:BPMNShape id="Participant_0kzj58d_di" bpmnElement="Participant_2">
174
+ <dc:Bounds x="161" y="646" width="600" height="250" />
175
+ </bpmndi:BPMNShape>
176
+ </bpmndi:BPMNPlane>
177
+ </bpmndi:BPMNDiagram>
178
+ </bpmn:definitions>
@@ -1,24 +1,24 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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_1" isExecutable="false">
4
- <bpmn:startEvent id="StartEvent_1" name="Foo" />
5
- <bpmn:startEvent id="StartEvent_2" />
6
- <bpmn:task id="Task_1" />
7
- </bpmn:process>
8
- <bpmndi:BPMNDiagram id="BPMNDiagram_1">
9
- <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
10
- <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
11
- <dc:Bounds x="173" y="102" width="36" height="36" />
12
- </bpmndi:BPMNShape>
13
- <bpmndi:BPMNShape id="StartEvent_1peicoz_di" bpmnElement="StartEvent_2">
14
- <dc:Bounds x="255" y="102" width="36" height="36" />
15
- <bpmndi:BPMNLabel>
16
- <dc:Bounds x="228" y="138" width="90" height="20" />
17
- </bpmndi:BPMNLabel>
18
- </bpmndi:BPMNShape>
19
- <bpmndi:BPMNShape id="Task_16agoun_di" bpmnElement="Task_1">
20
- <dc:Bounds x="339" y="80" width="100" height="80" />
21
- </bpmndi:BPMNShape>
22
- </bpmndi:BPMNPlane>
23
- </bpmndi:BPMNDiagram>
24
- </bpmn:definitions>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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_1" isExecutable="false">
4
+ <bpmn:startEvent id="StartEvent_1" name="Foo" />
5
+ <bpmn:startEvent id="StartEvent_2" />
6
+ <bpmn:task id="Task_1" />
7
+ </bpmn:process>
8
+ <bpmndi:BPMNDiagram id="BPMNDiagram_1">
9
+ <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
10
+ <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
11
+ <dc:Bounds x="173" y="102" width="36" height="36" />
12
+ </bpmndi:BPMNShape>
13
+ <bpmndi:BPMNShape id="StartEvent_1peicoz_di" bpmnElement="StartEvent_2">
14
+ <dc:Bounds x="255" y="102" width="36" height="36" />
15
+ <bpmndi:BPMNLabel>
16
+ <dc:Bounds x="228" y="138" width="90" height="20" />
17
+ </bpmndi:BPMNLabel>
18
+ </bpmndi:BPMNShape>
19
+ <bpmndi:BPMNShape id="Task_16agoun_di" bpmnElement="Task_1">
20
+ <dc:Bounds x="339" y="80" width="100" height="80" />
21
+ </bpmndi:BPMNShape>
22
+ </bpmndi:BPMNPlane>
23
+ </bpmndi:BPMNDiagram>
24
+ </bpmn:definitions>