mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-17 20:41:32 +00:00
b4b5d1d139
With diagram-js@5 we've introduced the CreateBehavior that ensures elements are not created on top of lanes but always on top of the actual participant. Unfortunately we forgot about the fact that lanes are created once in a while, too. This commit accounts for this fact and ensures we do not adjust the parent of to-be-created lanes. (A test cases for splitting nested lanes did not exist until now). Closes #1254 Closes #1253
45 lines
2.3 KiB
XML
45 lines
2.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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_0czfmdy" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.5.0">
|
|
<bpmn:collaboration id="Collaboration_166yin4">
|
|
<bpmn:participant id="Participant" name="Participant" processRef="Process" />
|
|
</bpmn:collaboration>
|
|
<bpmn:process id="Process" isExecutable="true">
|
|
<bpmn:laneSet id="LaneSet_113taei">
|
|
<bpmn:lane id="Lane" name="Lane">
|
|
<bpmn:flowNodeRef>Event</bpmn:flowNodeRef>
|
|
<bpmn:flowNodeRef>Task</bpmn:flowNodeRef>
|
|
</bpmn:lane>
|
|
</bpmn:laneSet>
|
|
<bpmn:startEvent id="Event" name="Event">
|
|
<bpmn:outgoing>SequenceFlow_192h0e0</bpmn:outgoing>
|
|
</bpmn:startEvent>
|
|
<bpmn:task id="Task" name="Task">
|
|
<bpmn:incoming>SequenceFlow_192h0e0</bpmn:incoming>
|
|
</bpmn:task>
|
|
<bpmn:sequenceFlow id="SequenceFlow_192h0e0" sourceRef="Event" targetRef="Task" />
|
|
</bpmn:process>
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_166yin4">
|
|
<bpmndi:BPMNShape id="Participant_00t6m8v_di" bpmnElement="Participant" isHorizontal="true">
|
|
<dc:Bounds x="170" y="90" width="791" height="450" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="Event">
|
|
<dc:Bounds x="323" y="152" width="36" height="36" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="327" y="195" width="29" height="14" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Task_05q93nk_di" bpmnElement="Task">
|
|
<dc:Bounds x="411" y="130" width="100" height="80" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="SequenceFlow_192h0e0_di" bpmnElement="SequenceFlow_192h0e0">
|
|
<di:waypoint x="359" y="170" />
|
|
<di:waypoint x="411" y="170" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNShape id="Lane_1f7sfho_di" bpmnElement="Lane" isHorizontal="true">
|
|
<dc:Bounds x="200" y="90" width="761" height="450" />
|
|
</bpmndi:BPMNShape>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</bpmn:definitions>
|