bpmn-js/test/fixtures/bpmn/sequence-flows.bpmn

61 lines
3.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<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" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" id="simple" targetNamespace="http://bpmn.io/schema/bpmn">
<bpmn2:process id="Process_1" isExecutable="false">
<bpmn2:endEvent id="EndEvent_1" name="End Event 1">
<bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
</bpmn2:endEvent>
<bpmn2:task id="Task_1" name="Task 1"/>
<bpmn2:exclusiveGateway id="Gateway_1" name="Gateway 1&#xD;&#xA;">
<bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
<bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
</bpmn2:exclusiveGateway>
<bpmn2:sequenceFlow id="SequenceFlow_2" name="Sequence Flow 2" sourceRef="Gateway_1" targetRef="EndEvent_1"/>
<bpmn2:task id="Task_2" name="Task 2">
<bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
</bpmn2:task>
<bpmn2:sequenceFlow id="SequenceFlow_1" name="Sequence Flow 1" sourceRef="Gateway_1" targetRef="Task_2"/>
<bpmn2:task id="Task_3" name="Task 3"/>
</bpmn2:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
<bpmndi:BPMNShape id="_BPMNShape_EndEvent_2" bpmnElement="EndEvent_1">
<dc:Bounds height="36.0" width="36.0" x="708.0" y="144.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="22.0" width="65.0" x="694.0" y="185.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_Task_3" bpmnElement="Task_2">
<dc:Bounds height="80.0" width="100.0" x="732.0" y="396.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_Task_4" bpmnElement="Task_1">
<dc:Bounds height="80.0" width="100.0" x="192.0" y="336.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_2" bpmnElement="Gateway_1" isMarkerVisible="true">
<dc:Bounds height="50.0" width="50.0" x="528.0" y="316.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="0.0" width="0.0" x="553.0" y="371.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_Task_6" bpmnElement="Task_3">
<dc:Bounds height="80.0" width="100.0" x="348.0" y="122.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_ExclusiveGateway_2" targetElement="_BPMNShape_EndEvent_2">
<di:waypoint xsi:type="dc:Point" x="553.0" y="316.0"/>
<di:waypoint xsi:type="dc:Point" x="553.0" y="162.0"/>
<di:waypoint xsi:type="dc:Point" x="708.0" y="162.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="22.0" width="106.0" x="564.0" y="240.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_7" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_ExclusiveGateway_2" targetElement="_BPMNShape_Task_3">
<di:waypoint xsi:type="dc:Point" x="578.0" y="341.0"/>
<di:waypoint xsi:type="dc:Point" x="934.0" y="341.0"/>
<di:waypoint xsi:type="dc:Point" x="934.0" y="436.0"/>
<di:waypoint xsi:type="dc:Point" x="832.0" y="436.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="22.0" width="47.0" x="831.0" y="312.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn2:definitions>