mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-10 09:05:58 +00:00
91dd1b696c
The BPMN 2.0 specification[1] states "a Sequence Flow that has an Exclusive, Inclusive or Complex Gateway or an Activity as its source can also be defined with as default." This commit will honor that statement by allowing sequence flows from Complex Gateway to be defined as default. [1] = http://www.omg.org/spec/BPMN/2.0/
49 lines
2.5 KiB
XML
49 lines
2.5 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: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">
|
|
<bpmn:process id="Process_1" isExecutable="false">
|
|
<bpmn:task id="Task_1">
|
|
<bpmn:incoming>SequenceFlow_1</bpmn:incoming>
|
|
</bpmn:task>
|
|
<bpmn:sequenceFlow id="SequenceFlow_1" sourceRef="ComplexGateway_1" targetRef="Task_1" />
|
|
<bpmn:ComplexGateway id="ComplexGateway_1" default="SequenceFlow_1">
|
|
<bpmn:outgoing>SequenceFlow_1</bpmn:outgoing>
|
|
<bpmn:outgoing>SequenceFlow_2</bpmn:outgoing>
|
|
</bpmn:ComplexGateway>
|
|
<bpmn:task id="Task_2">
|
|
<bpmn:incoming>SequenceFlow_2</bpmn:incoming>
|
|
</bpmn:task>
|
|
<bpmn:sequenceFlow id="SequenceFlow_2" sourceRef="ComplexGateway_1" targetRef="Task_2" />
|
|
</bpmn:process>
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
|
|
<bpmndi:BPMNShape id="Task_1_di" bpmnElement="Task_1">
|
|
<dc:Bounds x="230" y="25" width="100" height="80" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="SequenceFlow_1_di" bpmnElement="SequenceFlow_1">
|
|
<di:waypoint xsi:type="dc:Point" x="156" y="65" />
|
|
<di:waypoint xsi:type="dc:Point" x="230" y="65" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="168" y="55" width="90" height="20" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNShape id="ComplexGateway_1_di" bpmnElement="ComplexGateway_1">
|
|
<dc:Bounds x="106" y="40" width="50" height="50" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="86" y="90" width="90" height="20" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Task_2_di" bpmnElement="Task_2">
|
|
<dc:Bounds x="230" y="134" width="100" height="80" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="SequenceFlow_2_di" bpmnElement="SequenceFlow_2">
|
|
<di:waypoint xsi:type="dc:Point" x="131" y="90" />
|
|
<di:waypoint xsi:type="dc:Point" x="131" y="174" />
|
|
<di:waypoint xsi:type="dc:Point" x="230" y="174" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="86" y="122" width="90" height="20" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</bpmn:definitions>
|