xref: /plugin/bpmnio/test/data/bpmn-test.txt (revision 43854469855b0d3261173416b47cbad6e62bc444)
1====== BPMN Plugin Test Page ======
2
3This page tests the BPMN.io plugin functionality.
4
5===== Simple BPMN Diagram =====
6
7<bpmnio type="bpmn">
8<?xml version="1.0" encoding="UTF-8"?>
9<definitions
10    xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
11    xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
12    xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI"
13    xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC"
14    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
15    targetNamespace="http://bpmn.io/bpmn"
16    exporter="bpmn-js (https://demo.bpmn.io)"
17    exporterVersion="18.3.1">
18    <collaboration id="Collaboration_1oh70al">
19        <participant id="Participant_1r8g02m" name="Add a BPMN diagram" processRef="Process_1" />
20  </collaboration>
21  <process id="Process_1" isExecutable="false">
22    <startEvent id="StartEvent_1" name="Start">
23      <outgoing>SequenceFlow_1</outgoing>
24    </startEvent>
25    <exclusiveGateway id="ExclusiveGateway_1" name="Result OK" gatewayDirection="Diverging">
26      <incoming>SequenceFlow_2</incoming>
27      <outgoing>SequenceFlow_0snv4kp</outgoing>
28      <outgoing>SequenceFlow_0nuwads</outgoing>
29    </exclusiveGateway>
30    <task id="Task_17knw8l" name="Monitor">
31      <outgoing>SequenceFlow_121ul2c</outgoing>
32    </task>
33    <endEvent id="EndEvent_0oj7l6x" name="End">
34      <incoming>SequenceFlow_0snv4kp</incoming>
35    </endEvent>
36    <sequenceFlow id="SequenceFlow_1" name="" sourceRef="StartEvent_1" targetRef="Task_1" />
37    <sequenceFlow id="SequenceFlow_121ul2c" sourceRef="Task_17knw8l" targetRef="Task_1" />
38    <sequenceFlow id="SequenceFlow_0nuwads" name="No" sourceRef="ExclusiveGateway_1" targetRef="Task_1" />
39    <sequenceFlow id="SequenceFlow_2" sourceRef="Task_1" targetRef="ExclusiveGateway_1" />
40    <sequenceFlow id="SequenceFlow_0snv4kp" name="Yes" sourceRef="ExclusiveGateway_1" targetRef="EndEvent_0oj7l6x" />
41    <task id="Task_1" name="Do Something">
42      <incoming>SequenceFlow_1</incoming>
43      <incoming>SequenceFlow_121ul2c</incoming>
44      <incoming>SequenceFlow_0nuwads</incoming>
45      <outgoing>SequenceFlow_2</outgoing>
46    </task>
47  </process>
48  <bpmndi:BPMNDiagram id="BpmnDiagram_1">
49    <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Collaboration_1oh70al">
50      <bpmndi:BPMNShape id="Participant_1r8g02m_di" bpmnElement="Participant_1r8g02m">
51        <omgdc:Bounds x="104" y="78" width="668" height="297" />
52      </bpmndi:BPMNShape>
53      <bpmndi:BPMNShape id="StartEvent_1_gui" bpmnElement="StartEvent_1">
54        <omgdc:Bounds x="242" y="187" width="30" height="30" />
55        <bpmndi:BPMNLabel>
56          <omgdc:Bounds x="212" y="219" width="90" height="22" />
57        </bpmndi:BPMNLabel>
58      </bpmndi:BPMNShape>
59      <bpmndi:BPMNShape id="ExclusiveGateway_1_gui" bpmnElement="ExclusiveGateway_1" isMarkerVisible="true">
60        <omgdc:Bounds x="508" y="182" width="40" height="40" />
61        <bpmndi:BPMNLabel>
62          <omgdc:Bounds x="483" y="234" width="90" height="24" />
63        </bpmndi:BPMNLabel>
64      </bpmndi:BPMNShape>
65      <bpmndi:BPMNShape id="Task_17knw8l_di" bpmnElement="Task_17knw8l">
66        <omgdc:Bounds x="340" y="275" width="100" height="80" />
67      </bpmndi:BPMNShape>
68      <bpmndi:BPMNShape id="EndEvent_0oj7l6x_di" bpmnElement="EndEvent_0oj7l6x">
69        <omgdc:Bounds x="648" y="184" width="36" height="36" />
70        <bpmndi:BPMNLabel>
71          <omgdc:Bounds x="621" y="220" width="90" height="20" />
72        </bpmndi:BPMNLabel>
73      </bpmndi:BPMNShape>
74      <bpmndi:BPMNShape id="Task_1_gui" bpmnElement="Task_1">
75        <omgdc:Bounds x="340" y="162" width="100" height="80" />
76        <bpmndi:BPMNLabel>
77          <omgdc:Bounds x="118.85714721679688" y="47" width="82.28570556640625" height="12" />
78        </bpmndi:BPMNLabel>
79      </bpmndi:BPMNShape>
80      <bpmndi:BPMNEdge id="SequenceFlow_1_gui" bpmnElement="SequenceFlow_1">
81        <omgdi:waypoint x="272" y="202" />
82        <omgdi:waypoint x="340" y="202" />
83        <bpmndi:BPMNLabel>
84          <omgdc:Bounds x="225" y="140" width="90" height="20" />
85        </bpmndi:BPMNLabel>
86      </bpmndi:BPMNEdge>
87      <bpmndi:BPMNEdge id="SequenceFlow_121ul2c_di" bpmnElement="SequenceFlow_121ul2c">
88        <omgdi:waypoint x="390" y="275" />
89        <omgdi:waypoint x="390" y="242" />
90        <bpmndi:BPMNLabel>
91          <omgdc:Bounds x="358" y="273" width="90" height="20" />
92        </bpmndi:BPMNLabel>
93      </bpmndi:BPMNEdge>
94      <bpmndi:BPMNEdge id="SequenceFlow_0nuwads_di" bpmnElement="SequenceFlow_0nuwads">
95        <omgdi:waypoint x="508" y="202" />
96        <omgdi:waypoint x="440" y="202" />
97        <bpmndi:BPMNLabel>
98          <omgdc:Bounds x="466" y="208" width="15" height="14" />
99        </bpmndi:BPMNLabel>
100      </bpmndi:BPMNEdge>
101      <bpmndi:BPMNEdge id="SequenceFlow_2_di" bpmnElement="SequenceFlow_2">
102        <omgdi:waypoint x="440" y="202" />
103        <omgdi:waypoint x="508" y="202" />
104        <bpmndi:BPMNLabel>
105          <omgdc:Bounds x="433" y="192" width="90" height="20" />
106        </bpmndi:BPMNLabel>
107      </bpmndi:BPMNEdge>
108      <bpmndi:BPMNEdge id="SequenceFlow_0snv4kp_di" bpmnElement="SequenceFlow_0snv4kp">
109        <omgdi:waypoint x="548" y="202" />
110        <omgdi:waypoint x="648" y="202" />
111        <bpmndi:BPMNLabel>
112          <omgdc:Bounds x="550" y="183" width="90" height="20" />
113        </bpmndi:BPMNLabel>
114      </bpmndi:BPMNEdge>
115    </bpmndi:BPMNPlane>
116  </bpmndi:BPMNDiagram>
117</definitions>
118</bpmnio>
119===== Test Instructions =====
120
1211. The BPMN diagram above should render using the bpmn.io viewer
1222. You should be able to zoom and pan the diagram
1233. Click on elements to see properties