-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbpmn-envelope-decorator-bounds.xsd
59 lines (49 loc) · 2.7 KB
/
bpmn-envelope-decorator-bounds.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0" encoding="UTF-8"?>
<schema
xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.omg.org/spec/BPMN/non-normative/extensions/envelope-decorator-bounds/1.0"
xmlns:deco="http://www.omg.org/spec/BPMN/non-normative/extensions/envelope-decorator-bounds/1.0"
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">
<import namespace="http://www.omg.org/spec/BPMN/20100524/MODEL" schemaLocation="bpmn/BPMN20.xsd" />
<import namespace="http://www.omg.org/spec/DD/20100524/DC" schemaLocation="bpmn/DC.xsd" />
<import namespace="http://www.omg.org/spec/DD/20100524/DI" schemaLocation="bpmn/DI.xsd" />
<annotation>
<documentation>
This XML schema defines and documents BPMN 2.0 extension attributes
to overcome limitations of BPMN Diagram Interchange.
</documentation>
</annotation>
<attributeGroup name="BPMNEnvelopeDecorator">
<annotation>
<documentation>
Extension attribute on bpmndi:BPMNEdge that reference a bpmn:MessageFlow
BPMNEnvelopeDecorator allows to interchange the position and dimensions
of the Envelope Decorator on a BPMN Message Flow.
With this extension the Envelope Decorator can be freely positioned
along the Message Flow and not just in the middle of it.
BPMN 2.1, page 411 (PDF 441) says:
"Note that for Message Flow with an envelope decorator, the envelope
decorator should be at the midpoint of the message flow. BPMN DI does
not provide an interchange of the bounds of the envelope decorator."
Example:
<bpmndi:BPMNEdge bpmnElement="_09e7cb23-4a1b-4165-b93a-cf635c223ee5" messageVisibleKind="initiating" id="E1373638081031__09e7cb23-4a1b-4165-b93a-cf635c223ee5" deco:height="12" deco:width="17" deco:x="209" deco:y="336.0">
<di:waypoint x="305.0" y="188.0"/>
<di:waypoint x="305.0" y="342.0"/>
<di:waypoint x="130.0" y="342.0"/>
<di:waypoint x="131.0" y="651.0"/>
<bpmndi:BPMNLabel labelStyle="LS1373638080849">
<dc:Bounds height="12.804751171875008" width="94.93333333333335" x="167.10533963254568" y="359.56612835107035"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
See also bpmn-envelope-decorator-bounds.png
</documentation>
</annotation>
<attribute name="x" type="double"/>
<attribute name="y" type="double"/>
<attribute name="height" type="double"/>
<attribute name="width" type="double"/>
</attributeGroup>
</schema>