aurea-eden 1.45.1 → 1.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/star_silver.svg +55 -55
- package/dist/bpmn-diagram.es.js +82 -9
- package/dist/bpmn-diagram.umd.js +1 -1
- package/lib/components/AureaEdenBpmnDiagram.vue +307 -307
- package/lib/components/README.md +78 -78
- package/lib/connectors/Connector.js +480 -480
- package/lib/diagrams/Diagram.js +2273 -2273
- package/lib/elements/Element.js +1879 -1879
- package/lib/loaders/GifTextureLoader.js +132 -132
- package/lib/materials/BarMaterial.js +18 -18
- package/lib/notations/bpmn/BpmnDiagram.js +1893 -1805
- package/lib/notations/bpmn/BpmnExporter.js +329 -329
- package/lib/notations/bpmn/BpmnToFluentConverter.js +1062 -1062
- package/lib/notations/bpmn/CONVERTER_ALGORITHM.md +94 -94
- package/lib/notations/custom/MyCustomNotationDiagram.js +55 -55
- package/lib/shapes/badge/ImageBadgeShape.js +54 -54
- package/lib/shapes/bar/ValueBarConstants.js +34 -34
- package/lib/shapes/bar/ValueBarShape.js +37 -37
- package/lib/shapes/bar/ValueBarUtils.js +107 -107
- package/lib/shapes/connector/DashedOrthogonalConnectorShape.js +146 -146
- package/lib/shapes/connector/RoundedCornerOrthogonalConnectorShape.js +259 -259
- package/lib/shapes/connector/StraightArrowConnectorShape.js +108 -108
- package/lib/shapes/connector/StraightDottedConnectorShape.js +70 -70
- package/lib/shapes/icon/IconShape.js +111 -111
- package/lib/shapes/icon/bpmn/gateways/exclusive.svg +57 -57
- package/lib/shapes/icon/bpmn/gateways/inclusive.svg +57 -57
- package/lib/shapes/icon/bpmn/gateways/parallel.svg +56 -56
- package/lib/shapes/paths/CircleShape.js +59 -59
- package/lib/shapes/paths/DiamondShape.js +175 -175
- package/lib/shapes/paths/RoundedRectangleShape.js +178 -178
- package/lib/shapes/paths/SwimlaneShape.js +126 -126
- package/lib/shapes/paths/TextAnnotationShape.js +82 -82
- package/lib/shapes/solids/StarShape.js +102 -102
- package/lib/shapes/text/TextShape.js +138 -138
- package/package.json +71 -71
package/assets/star_silver.svg
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<svg
|
|
3
|
-
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
4
|
-
xmlns:cc="http://creativecommons.org/ns#"
|
|
5
|
-
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
6
|
-
xmlns:svg="http://www.w3.org/2000/svg"
|
|
7
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
-
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
9
|
-
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
10
|
-
width="28.674372mm"
|
|
11
|
-
height="28.668304mm"
|
|
12
|
-
viewBox="0 0 101.6021 101.58061"
|
|
13
|
-
id="svg2"
|
|
14
|
-
version="1.1"
|
|
15
|
-
sodipodi:docname="five_pointed_star_spin_silver.svg">
|
|
16
|
-
|
|
17
|
-
<title>Silver Five-Pointed Star Spinning</title>
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
<metadata id="metadata7">
|
|
22
|
-
<rdf:RDF>
|
|
23
|
-
<cc:Work rdf:about="">
|
|
24
|
-
<dc:format>image/svg+xml</dc:format>
|
|
25
|
-
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
26
|
-
<dc:title>Silver Five-Pointed Star</dc:title>
|
|
27
|
-
<dc:creator>
|
|
28
|
-
<cc:Agent><dc:title>mazeo</dc:title></cc:Agent>
|
|
29
|
-
</dc:creator>
|
|
30
|
-
</cc:Work>
|
|
31
|
-
</rdf:RDF>
|
|
32
|
-
</metadata>
|
|
33
|
-
|
|
34
|
-
<g id="g3411">
|
|
35
|
-
<path
|
|
36
|
-
inkscape:connector-curvature="0"
|
|
37
|
-
d="m 49.4319,79.001906 l 1.1197,-23.1239 L 18.5018,100.58791 Z M 81.2953,101.58061 L 50.5516,55.878006 l -1.1197,23.1239 z m 0,0 L 71.2285,64.137706 l -20.6769,-8.2597 z m -62.7935,-0.9927 L 50.5516,55.878006 l -21.3689,6.0316 z M 50.5516,55.878006 L -3.0422191e-6,37.807606 L 29.1827,61.909606 Z m 0,0 l 20.6769,8.2597 l 30.3736,-24.7238 z m 0,0 L 38.4647,36.481906 L -3.0422192e-6,37.807606 Z m 0,0 l 51.0505,-16.4641 l -37.1517,-1.555 z m 0,0 l 13.8988,-18.0191 L 51.3588,5.7556778e-6 Z m 0,0 L 51.3588,5.7556778e-6 L 38.4647,36.481906 Z"
|
|
38
|
-
style="fill:#f0f0f0;fill-opacity:1;stroke:none;stroke-width:0;stroke-linejoin:round;stroke-opacity:1"
|
|
39
|
-
id="path3829-7" />
|
|
40
|
-
<g
|
|
41
|
-
inkscape:label="Star"
|
|
42
|
-
transform="translate(50.551603,55.877997)"
|
|
43
|
-
id="g3809">
|
|
44
|
-
<path id="path3811" style="fill:#808080;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linejoin:round;stroke-opacity:1" d="m 0,0 l 0.8072,-55.878 l -12.8941,36.4819 z"/>
|
|
45
|
-
<path id="path3813" style="fill:#c0c0c0;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linejoin:round;stroke-opacity:1" d="M 0,0 L 13.8988,-18.0191 L 0.8072,-55.878 Z"/>
|
|
46
|
-
<path id="path3815" style="fill:#808080;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linejoin:round;stroke-opacity:1" d="m 0,0 l 51.0505,-16.4641 l -37.1517,-1.555 z"/>
|
|
47
|
-
<path id="path3817" style="fill:#808080;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linejoin:round;stroke-opacity:1" d="m 0,0 l -12.0869,-19.3961 l -38.4647,1.3257 z"/>
|
|
48
|
-
<path id="path3819" style="fill:#c0c0c0;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linejoin:round;stroke-opacity:1" d="M 0,0 L 20.6769,8.2597 L 51.0505,-16.4641 Z"/>
|
|
49
|
-
<path id="path3821" style="fill:#a8a8a8;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linejoin:round;stroke-opacity:1" d="m 0,0 l -50.5516,-18.0704 l 29.1827,24.102 z"/>
|
|
50
|
-
<path id="path3823" style="fill:#808080;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linejoin:round;stroke-opacity:1" d="M -32.0498,44.7099 L 0,0 l -21.3689,6.0316 z"/>
|
|
51
|
-
<path id="path3825" style="fill:#c0c0c0;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linejoin:round;stroke-opacity:1" d="M 30.7437,45.7026 L 20.6769,8.2597 L 0,0 Z"/>
|
|
52
|
-
<path id="path3827" style="fill:#a8a8a8;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linejoin:round;stroke-opacity:1" d="M 30.7437,45.7026 L 0,0 l -1.1197,23.1239 z"/>
|
|
53
|
-
<path id="path3829" style="fill:#c0c0c0;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linejoin:round;stroke-opacity:1" d="M -1.1197,23.1239 L 0,0 l -32.0498,44.7099 z"/>
|
|
54
|
-
</g>
|
|
55
|
-
</g>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
4
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
|
5
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
6
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
9
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
10
|
+
width="28.674372mm"
|
|
11
|
+
height="28.668304mm"
|
|
12
|
+
viewBox="0 0 101.6021 101.58061"
|
|
13
|
+
id="svg2"
|
|
14
|
+
version="1.1"
|
|
15
|
+
sodipodi:docname="five_pointed_star_spin_silver.svg">
|
|
16
|
+
|
|
17
|
+
<title>Silver Five-Pointed Star Spinning</title>
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
<metadata id="metadata7">
|
|
22
|
+
<rdf:RDF>
|
|
23
|
+
<cc:Work rdf:about="">
|
|
24
|
+
<dc:format>image/svg+xml</dc:format>
|
|
25
|
+
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
26
|
+
<dc:title>Silver Five-Pointed Star</dc:title>
|
|
27
|
+
<dc:creator>
|
|
28
|
+
<cc:Agent><dc:title>mazeo</dc:title></cc:Agent>
|
|
29
|
+
</dc:creator>
|
|
30
|
+
</cc:Work>
|
|
31
|
+
</rdf:RDF>
|
|
32
|
+
</metadata>
|
|
33
|
+
|
|
34
|
+
<g id="g3411">
|
|
35
|
+
<path
|
|
36
|
+
inkscape:connector-curvature="0"
|
|
37
|
+
d="m 49.4319,79.001906 l 1.1197,-23.1239 L 18.5018,100.58791 Z M 81.2953,101.58061 L 50.5516,55.878006 l -1.1197,23.1239 z m 0,0 L 71.2285,64.137706 l -20.6769,-8.2597 z m -62.7935,-0.9927 L 50.5516,55.878006 l -21.3689,6.0316 z M 50.5516,55.878006 L -3.0422191e-6,37.807606 L 29.1827,61.909606 Z m 0,0 l 20.6769,8.2597 l 30.3736,-24.7238 z m 0,0 L 38.4647,36.481906 L -3.0422192e-6,37.807606 Z m 0,0 l 51.0505,-16.4641 l -37.1517,-1.555 z m 0,0 l 13.8988,-18.0191 L 51.3588,5.7556778e-6 Z m 0,0 L 51.3588,5.7556778e-6 L 38.4647,36.481906 Z"
|
|
38
|
+
style="fill:#f0f0f0;fill-opacity:1;stroke:none;stroke-width:0;stroke-linejoin:round;stroke-opacity:1"
|
|
39
|
+
id="path3829-7" />
|
|
40
|
+
<g
|
|
41
|
+
inkscape:label="Star"
|
|
42
|
+
transform="translate(50.551603,55.877997)"
|
|
43
|
+
id="g3809">
|
|
44
|
+
<path id="path3811" style="fill:#808080;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linejoin:round;stroke-opacity:1" d="m 0,0 l 0.8072,-55.878 l -12.8941,36.4819 z"/>
|
|
45
|
+
<path id="path3813" style="fill:#c0c0c0;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linejoin:round;stroke-opacity:1" d="M 0,0 L 13.8988,-18.0191 L 0.8072,-55.878 Z"/>
|
|
46
|
+
<path id="path3815" style="fill:#808080;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linejoin:round;stroke-opacity:1" d="m 0,0 l 51.0505,-16.4641 l -37.1517,-1.555 z"/>
|
|
47
|
+
<path id="path3817" style="fill:#808080;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linejoin:round;stroke-opacity:1" d="m 0,0 l -12.0869,-19.3961 l -38.4647,1.3257 z"/>
|
|
48
|
+
<path id="path3819" style="fill:#c0c0c0;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linejoin:round;stroke-opacity:1" d="M 0,0 L 20.6769,8.2597 L 51.0505,-16.4641 Z"/>
|
|
49
|
+
<path id="path3821" style="fill:#a8a8a8;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linejoin:round;stroke-opacity:1" d="m 0,0 l -50.5516,-18.0704 l 29.1827,24.102 z"/>
|
|
50
|
+
<path id="path3823" style="fill:#808080;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linejoin:round;stroke-opacity:1" d="M -32.0498,44.7099 L 0,0 l -21.3689,6.0316 z"/>
|
|
51
|
+
<path id="path3825" style="fill:#c0c0c0;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linejoin:round;stroke-opacity:1" d="M 30.7437,45.7026 L 20.6769,8.2597 L 0,0 Z"/>
|
|
52
|
+
<path id="path3827" style="fill:#a8a8a8;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linejoin:round;stroke-opacity:1" d="M 30.7437,45.7026 L 0,0 l -1.1197,23.1239 z"/>
|
|
53
|
+
<path id="path3829" style="fill:#c0c0c0;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linejoin:round;stroke-opacity:1" d="M -1.1197,23.1239 L 0,0 l -32.0498,44.7099 z"/>
|
|
54
|
+
</g>
|
|
55
|
+
</g>
|
|
56
56
|
</svg>
|
package/dist/bpmn-diagram.es.js
CHANGED
|
@@ -60171,7 +60171,9 @@ SPREAD LOG: Target ${nodeId} Port ${basePort}`);
|
|
|
60171
60171
|
"parallelGateway",
|
|
60172
60172
|
"eventBasedGateway",
|
|
60173
60173
|
"complexGateway",
|
|
60174
|
-
"endEvent"
|
|
60174
|
+
"endEvent",
|
|
60175
|
+
"subProcess",
|
|
60176
|
+
"callActivity"
|
|
60175
60177
|
];
|
|
60176
60178
|
for (let i2 = 0; i2 < allNodes.length; i2++) {
|
|
60177
60179
|
const node2 = allNodes[i2];
|
|
@@ -60438,7 +60440,7 @@ SPREAD LOG: Target ${nodeId} Port ${basePort}`);
|
|
|
60438
60440
|
return text.replace(/\n/g, "\\n").replace(/'/g, "\\'");
|
|
60439
60441
|
}
|
|
60440
60442
|
}
|
|
60441
|
-
const version = "1.
|
|
60443
|
+
const version = "1.46.0";
|
|
60442
60444
|
var Easing = Object.freeze({
|
|
60443
60445
|
Linear: Object.freeze({
|
|
60444
60446
|
None: function(amount) {
|
|
@@ -69105,9 +69107,10 @@ class DashedOrthogonalConnectorShape extends Shape2 {
|
|
|
69105
69107
|
this.name = "DashedOrthogonalConnectorShape";
|
|
69106
69108
|
}
|
|
69107
69109
|
}
|
|
69108
|
-
const
|
|
69109
|
-
const
|
|
69110
|
-
const
|
|
69110
|
+
const subProcessMarker = '<?xml version="1.0" encoding="UTF-8" standalone="no"?>\n<svg\n xmlns:dc="http://purl.org/dc/elements/1.1/"\n xmlns:cc="http://creativecommons.org/ns#"\n xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"\n xmlns:svg="http://www.w3.org/2000/svg"\n xmlns="http://www.w3.org/2000/svg"\n version="1.1"\n id="svg2"\n viewBox="0 0 2000 2000"\n height="2000"\n width="2000">\n <defs\n id="defs4" />\n <metadata\n id="metadata7">\n <rdf:RDF>\n <cc:Work\n rdf:about="">\n <dc:format>image/svg+xml</dc:format>\n <dc:type\n rdf:resource="http://purl.org/dc/dcmitype/StillImage" />\n <dc:title></dc:title>\n <cc:license\n rdf:resource="https://github.com/bpmn-io/bpmn-font/blob/master/LICENSE" />\n <dc:creator>\n <cc:Agent>\n <dc:title>Jörg Dotzki</dc:title>\n </cc:Agent>\n </dc:creator>\n <dc:subject>\n <rdf:Bag>\n <rdf:li>BPMN</rdf:li>\n <rdf:li>bpmn-io</rdf:li>\n <rdf:li>bpmn.io</rdf:li>\n <rdf:li>Font</rdf:li>\n </rdf:Bag>\n </dc:subject>\n </cc:Work>\n </rdf:RDF>\n </metadata>\n <g\n transform="translate(0,947.63784)"\n id="layer1">\n <path\n id="rect4136-1"\n transform="translate(0,-947.63784)"\n d="m 300,300 0,50 0,1350 1400,0 0,-1400 z m 88,88 1224,0 0,1224 -1224,0 z m 522,212 0,310 -310,0 0,180 310,0 0,310 180,0 0,-310 310,0 0,-180 -310,0 0,-310 z"\n style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:200;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" />\n </g>\n</svg>\n';
|
|
69111
|
+
const inclusive = '<?xml version="1.0" encoding="UTF-8" standalone="no"?>\n<!-- Created with Inkscape (http://www.inkscape.org/) -->\n\n<svg\n width="13.758311mm"\n height="13.758311mm"\n viewBox="0 0 13.758311 13.758311"\n version="1.1"\n id="svg1"\n inkscape:version="1.4 (e7c3feb1, 2024-10-09)"\n sodipodi:docname="inclusive.svg"\n xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"\n xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"\n xmlns="http://www.w3.org/2000/svg"\n xmlns:svg="http://www.w3.org/2000/svg">\n <sodipodi:namedview\n id="namedview1"\n pagecolor="#ffffff"\n bordercolor="#000000"\n borderopacity="0.25"\n inkscape:showpageshadow="2"\n inkscape:pageopacity="0.0"\n inkscape:pagecheckerboard="0"\n inkscape:deskcolor="#d1d1d1"\n inkscape:document-units="mm"\n inkscape:zoom="8.8470394"\n inkscape:cx="30.349136"\n inkscape:cy="27.636364"\n inkscape:window-width="1104"\n inkscape:window-height="784"\n inkscape:window-x="0"\n inkscape:window-y="38"\n inkscape:window-maximized="0"\n inkscape:current-layer="layer1" />\n <defs\n id="defs1" />\n <g\n inkscape:label="Layer 1"\n inkscape:groupmode="layer"\n id="layer1"\n transform="translate(-101.73231,-141.68439)">\n <path\n style="display:inline;fill:#22242a;stroke-linecap:round;stroke-linejoin:round;stroke-width:0;stroke-dasharray:none;stroke:none"\n d="m 25,10.75 c -7.855252,0 -14.25,6.394748 -14.25,14.25 0,7.855252 6.394748,14.25 14.25,14.25 7.855252,0 14.25,-6.394748 14.25,-14.25 0,-7.855252 -6.394748,-14.25 -14.25,-14.25 z m 0,2.5 c 6.504152,0 11.75,5.245848 11.75,11.75 0,6.504152 -5.245848,11.75 -11.75,11.75 -6.504152,0 -11.75,-5.245848 -11.75,-11.75 0,-6.504152 5.245848,-11.75 11.75,-11.75 z"\n id="path2"\n transform="matrix(0.26458333,0,0,0.26458333,101.99688,141.94896)" />\n <rect\n x="102.52605"\n y="142.47813"\n rx="1.0583333"\n width="12.170834"\n height="12.170834"\n class="djs-outline"\n style="fill:none;stroke-width:0.264583"\n id="rect105" />\n </g>\n</svg>\n';
|
|
69112
|
+
const exclusive = '<?xml version="1.0" encoding="UTF-8" standalone="no"?>\n<!-- Created with Inkscape (http://www.inkscape.org/) -->\n\n<svg\n width="13.758311mm"\n height="13.758311mm"\n viewBox="0 0 13.758311 13.758311"\n version="1.1"\n id="svg1"\n inkscape:version="1.4 (e7c3feb1, 2024-10-09)"\n sodipodi:docname="exclusive.svg"\n xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"\n xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"\n xmlns="http://www.w3.org/2000/svg"\n xmlns:svg="http://www.w3.org/2000/svg">\n <sodipodi:namedview\n id="namedview1"\n pagecolor="#ffffff"\n bordercolor="#000000"\n borderopacity="0.25"\n inkscape:showpageshadow="2"\n inkscape:pageopacity="0.0"\n inkscape:pagecheckerboard="0"\n inkscape:deskcolor="#d1d1d1"\n inkscape:document-units="mm"\n inkscape:zoom="4.1672912"\n inkscape:cx="41.63376"\n inkscape:cy="36.714497"\n inkscape:window-width="1104"\n inkscape:window-height="719"\n inkscape:window-x="0"\n inkscape:window-y="38"\n inkscape:window-maximized="0"\n inkscape:current-layer="layer1" />\n <defs\n id="defs1" />\n <g\n inkscape:label="Layer 1"\n inkscape:groupmode="layer"\n id="layer1"\n transform="translate(-101.7323,-141.68439)">\n <path\n style="display:inline;fill:#22242a;stroke-linecap:round;stroke-linejoin:round"\n d="M 16,15 23.428571,24.714286 16,34.428571 h 3.428571 l 5.714286,-7.464228 5.714286,7.464228 h 3.428571 L 26.857143,24.714286 34.285714,15 H 30.857143 L 25.142857,22.464229 19.428571,15 Z"\n id="path1"\n transform="matrix(0.26458333,0,0,0.26458333,101.99687,141.94896)" />\n <rect\n x="102.52604"\n y="142.47813"\n rx="1.0583333"\n width="12.170834"\n height="12.170834"\n class="djs-outline"\n style="fill:none;stroke-width:0.264583"\n id="rect108" />\n </g>\n</svg>\n';
|
|
69113
|
+
const parallel = '<?xml version="1.0" encoding="UTF-8" standalone="no"?>\n<!-- Created with Inkscape (http://www.inkscape.org/) -->\n\n<svg\n width="13.758311mm"\n height="13.758311mm"\n viewBox="0 0 13.758311 13.758311"\n version="1.1"\n id="svg1"\n inkscape:version="1.4 (e7c3feb1, 2024-10-09)"\n sodipodi:docname="parallel.svg"\n xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"\n xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"\n xmlns="http://www.w3.org/2000/svg"\n xmlns:svg="http://www.w3.org/2000/svg">\n <sodipodi:namedview\n id="namedview1"\n pagecolor="#ffffff"\n bordercolor="#000000"\n borderopacity="0.25"\n inkscape:showpageshadow="2"\n inkscape:pageopacity="0.0"\n inkscape:pagecheckerboard="0"\n inkscape:deskcolor="#d1d1d1"\n inkscape:document-units="mm"\n inkscape:zoom="2.5054948"\n inkscape:cx="-2.1951752"\n inkscape:cy="20.155699"\n inkscape:window-width="1104"\n inkscape:window-height="788"\n inkscape:window-x="0"\n inkscape:window-y="38"\n inkscape:window-maximized="0"\n inkscape:current-layer="layer1" />\n <defs\n id="defs1" />\n <g\n inkscape:label="Layer 1"\n inkscape:groupmode="layer"\n id="layer1"\n transform="translate(-101.7323,-141.68439)">\n <path\n d="m 108.08229,144.59479 v 3.30729 h -3.3073 v 1.32292 h 3.3073 v 3.30729 h 1.32291 V 149.225 h 3.30729 v -1.32292 h -3.30729 v -3.30729 z"\n style="fill:#22242a;stroke:#22242a;stroke-width:0.264583px;stroke-linecap:round;stroke-linejoin:round"\n id="path109" />\n <rect\n x="102.52604"\n y="142.47813"\n rx="1.0583333"\n width="12.170834"\n height="12.170834"\n class="djs-outline"\n style="fill:none;stroke-width:0.264583"\n id="rect111" />\n </g>\n</svg>\n';
|
|
69111
69114
|
const eventBased = '<?xml version="1.0" encoding="UTF-8" standalone="no"?>\n<!-- Created with Inkscape (http://www.inkscape.org/) -->\n\n<svg\n width="13.758311mm"\n height="13.758311mm"\n viewBox="0 0 13.758311 13.758311"\n version="1.1"\n id="svg1"\n inkscape:version="1.4 (e7c3feb1, 2024-10-09)"\n sodipodi:docname="event-based.svg"\n xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"\n xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"\n xmlns="http://www.w3.org/2000/svg"\n xmlns:svg="http://www.w3.org/2000/svg">\n <sodipodi:namedview\n id="namedview1"\n pagecolor="#ffffff"\n bordercolor="#000000"\n borderopacity="0.25"\n inkscape:showpageshadow="2"\n inkscape:pageopacity="0.0"\n inkscape:pagecheckerboard="0"\n inkscape:deskcolor="#d1d1d1"\n inkscape:document-units="mm"\n inkscape:zoom="4.3759929"\n inkscape:cx="21.36658"\n inkscape:cy="26.16549"\n inkscape:window-width="1104"\n inkscape:window-height="786"\n inkscape:window-x="0"\n inkscape:window-y="38"\n inkscape:window-maximized="0"\n inkscape:current-layer="layer1" />\n <defs\n id="defs1" />\n <g\n inkscape:label="Layer 1"\n inkscape:groupmode="layer"\n id="layer1"\n transform="translate(-1969.426,-2186.3844)">\n <circle\n cx="1976.3052"\n cy="2193.2637"\n r="3.96875"\n style="fill:none;stroke:#22242a;stroke-width:0.264583px;stroke-linecap:round;stroke-linejoin:round"\n id="circle112" />\n <circle\n cx="1976.3052"\n cy="2193.2637"\n r="3.175"\n style="fill:none;stroke:#22242a;stroke-width:0.264583px;stroke-linecap:round;stroke-linejoin:round"\n id="circle113" />\n <path\n d="m 1974.4531,2192.4698 1.9483,-1.2988 1.9483,1.2988 -0.6494,2.5978 h -2.5978 z"\n style="fill:none;stroke:#22242a;stroke-width:0.529167px;stroke-linecap:round;stroke-linejoin:round"\n id="path113" />\n <rect\n x="1970.2197"\n y="2187.1782"\n rx="1.0583333"\n width="12.170834"\n height="12.170834"\n class="djs-outline"\n style="fill:none;stroke-width:0.264583"\n id="rect114" />\n </g>\n</svg>\n';
|
|
69112
69115
|
const complex = '<?xml version="1.0" encoding="UTF-8" standalone="no"?>\n<!-- Created with Inkscape (http://www.inkscape.org/) -->\n\n<svg\n width="13.758311mm"\n height="13.758311mm"\n viewBox="0 0 13.758311 13.758311"\n version="1.1"\n id="svg1"\n inkscape:version="1.4 (e7c3feb1, 2024-10-09)"\n sodipodi:docname="complex.svg"\n xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"\n xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"\n xmlns="http://www.w3.org/2000/svg"\n xmlns:svg="http://www.w3.org/2000/svg">\n <sodipodi:namedview\n id="namedview1"\n pagecolor="#ffffff"\n bordercolor="#000000"\n borderopacity="0.25"\n inkscape:showpageshadow="2"\n inkscape:pageopacity="0.0"\n inkscape:pagecheckerboard="0"\n inkscape:deskcolor="#d1d1d1"\n inkscape:document-units="mm"\n inkscape:zoom="4.8390424"\n inkscape:cx="39.987251"\n inkscape:cy="19.218679"\n inkscape:window-width="1104"\n inkscape:window-height="827"\n inkscape:window-x="0"\n inkscape:window-y="38"\n inkscape:window-maximized="0"\n inkscape:current-layer="layer1" />\n <defs\n id="defs1" />\n <g\n inkscape:label="Layer 1"\n inkscape:groupmode="layer"\n id="layer1"\n transform="translate(-101.73231,-141.68439)">\n <g\n id="path115"\n style="fill:#22242a;fill-opacity:1;stroke:none;stroke-width:0;stroke-dasharray:none"\n transform="matrix(0.26458333,0,0,0.26458333,-13.62604,-21.563537)">\n <path\n style="fill:#22242a;fill-opacity:1;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"\n d="m 460,631 v 7.11679 l -5.01825,-5.01825 -3.10219,3.10219 5.01825,5.01825 h -7.11679 v 4.37956 h 7.11679 l -5.01825,5.01825 3.10219,3.10219 L 460,648.70073 v 7.11679 h 4.37956 v -7.11679 l 5.01825,5.01825 3.10219,-3.10219 -5.01825,-5.01825 h 7.11679 v -4.37956 h -7.11679 l 5.01825,-5.01825 -3.10219,-3.10219 -5.01825,5.01825 V 631 Z"\n id="path211" />\n </g>\n <rect\n x="102.52604"\n y="142.47813"\n rx="1.0583333"\n width="12.170834"\n height="12.170834"\n class="djs-outline"\n style="fill:none;stroke-width:0.264583"\n id="rect117" />\n </g>\n</svg>\n';
|
|
69113
69116
|
const conditional = '<?xml version="1.0" encoding="UTF-8" standalone="no"?>\n<!-- Created with Inkscape (http://www.inkscape.org/) -->\n\n<svg\n width="4.1010432mm"\n height="5.0270829mm"\n viewBox="0 0 4.1010433 5.0270831"\n version="1.1"\n id="svg1"\n inkscape:version="1.4 (86a8ad7, 2024-10-11)"\n sodipodi:docname="conditional.svg"\n xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"\n xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"\n xmlns="http://www.w3.org/2000/svg"\n xmlns:svg="http://www.w3.org/2000/svg">\n <sodipodi:namedview\n id="namedview1"\n pagecolor="#505050"\n bordercolor="#eeeeee"\n borderopacity="1"\n inkscape:showpageshadow="0"\n inkscape:pageopacity="0"\n inkscape:pagecheckerboard="0"\n inkscape:deskcolor="#505050"\n inkscape:document-units="mm"\n inkscape:zoom="8.1336326"\n inkscape:cx="2.3359796"\n inkscape:cy="13.216727"\n inkscape:window-width="2560"\n inkscape:window-height="1009"\n inkscape:window-x="-8"\n inkscape:window-y="-8"\n inkscape:window-maximized="1"\n inkscape:current-layer="layer1" />\n <defs\n id="defs1" />\n <g\n inkscape:label="Layer 1"\n inkscape:groupmode="layer"\n id="layer1"\n transform="translate(-156.23646,-112.58021)">\n <path\n d="m 156.36875,112.7125 h 3.83646 v 4.7625 h -3.83646 z m 0.52917,0.79375 h 2.77813 M 156.89792,114.3 h 2.77813 m -2.77813,0.79375 h 2.77813 m -2.77813,0.79375 h 2.77813 m -2.77813,0.79375 h 2.77813 m -2.77813,0.79375 h 2.77813"\n style="fill:none;stroke:#22242a;stroke-width:0.264583px;stroke-linecap:round;stroke-linejoin:round"\n id="path22" />\n </g>\n</svg>\n';
|
|
@@ -69432,6 +69435,25 @@ class BpmnDiagram extends Diagram {
|
|
|
69432
69435
|
return _el;
|
|
69433
69436
|
}
|
|
69434
69437
|
// Tasks
|
|
69438
|
+
addSubProcess(elementId, width = BPMN_DIMS.TASK_WIDTH, height = BPMN_DIMS.TASK_HEIGHT, isExpanded2 = false) {
|
|
69439
|
+
const _el = this.addElement(new Element(elementId, new RoundedRectangleShape(width, height)));
|
|
69440
|
+
_el.semanticType = "subprocess";
|
|
69441
|
+
_el.bpmnType = "bpmn:SubProcess";
|
|
69442
|
+
if (isExpanded2) {
|
|
69443
|
+
_el.textStyle = { fontSize: BPMN_DIMS.FONT_SIZE_TASK, align: "top-left", offset: { x: 5, y: -5, z: 0 }, faceCamera: false };
|
|
69444
|
+
} else {
|
|
69445
|
+
_el.textStyle = { fontSize: BPMN_DIMS.FONT_SIZE_TASK, align: BPMN_DIMS.TEXT_ALIGN_TASK, offset: BPMN_DIMS.TEXT_OFFSET_DEFAULT, faceCamera: BPMN_DIMS.FACE_CAMERA_TASK };
|
|
69446
|
+
_el.addIcon(subProcessMarker, "bottom", BPMN_DIMS.ICON_SIZE_SMALL);
|
|
69447
|
+
}
|
|
69448
|
+
return _el;
|
|
69449
|
+
}
|
|
69450
|
+
addCallActivity(elementId, width = BPMN_DIMS.TASK_WIDTH, height = BPMN_DIMS.TASK_HEIGHT) {
|
|
69451
|
+
const _el = this.addElement(new Element(elementId, new RoundedRectangleShape(width, height, 10, 3)));
|
|
69452
|
+
_el.semanticType = "callactivity";
|
|
69453
|
+
_el.bpmnType = "bpmn:CallActivity";
|
|
69454
|
+
_el.textStyle = { fontSize: BPMN_DIMS.FONT_SIZE_TASK, align: BPMN_DIMS.TEXT_ALIGN_TASK, offset: BPMN_DIMS.TEXT_OFFSET_DEFAULT, faceCamera: BPMN_DIMS.FACE_CAMERA_TASK };
|
|
69455
|
+
return _el;
|
|
69456
|
+
}
|
|
69435
69457
|
addTask(elementId, width = BPMN_DIMS.TASK_WIDTH, height = BPMN_DIMS.TASK_HEIGHT) {
|
|
69436
69458
|
const _el = this.addElement(new Element(elementId, new RoundedRectangleShape(width, height)));
|
|
69437
69459
|
_el.semanticType = "task";
|
|
@@ -69595,16 +69617,20 @@ class BpmnDiagram extends Diagram {
|
|
|
69595
69617
|
const dcNamespace = "http://www.omg.org/spec/DD/20100524/DC";
|
|
69596
69618
|
const diNamespace = "http://www.omg.org/spec/DD/20100524/DI";
|
|
69597
69619
|
const layoutMap = {};
|
|
69598
|
-
const
|
|
69620
|
+
const bpmnDiagrams = xmlDoc.getElementsByTagNameNS(bpmndiNamespace, "BPMNDiagram");
|
|
69621
|
+
const mainDiagram = bpmnDiagrams.length > 0 ? bpmnDiagrams[0] : xmlDoc;
|
|
69622
|
+
const bpmnShapes = mainDiagram.getElementsByTagNameNS(bpmndiNamespace, "BPMNShape");
|
|
69599
69623
|
for (let i2 = 0; i2 < bpmnShapes.length; i2++) {
|
|
69600
69624
|
const bpmnElementId = bpmnShapes[i2].getAttribute("bpmnElement");
|
|
69625
|
+
const isExpanded2 = bpmnShapes[i2].getAttribute("isExpanded") === "true";
|
|
69601
69626
|
const bounds = bpmnShapes[i2].getElementsByTagNameNS(dcNamespace, "Bounds")[0];
|
|
69602
69627
|
if (bounds) {
|
|
69603
69628
|
layoutMap[bpmnElementId] = {
|
|
69604
69629
|
width: parseFloat(bounds.getAttribute("width")),
|
|
69605
69630
|
height: parseFloat(bounds.getAttribute("height")),
|
|
69606
69631
|
x: parseFloat(bounds.getAttribute("x")),
|
|
69607
|
-
y: parseFloat(bounds.getAttribute("y")) * -1
|
|
69632
|
+
y: parseFloat(bounds.getAttribute("y")) * -1,
|
|
69633
|
+
isExpanded: isExpanded2
|
|
69608
69634
|
};
|
|
69609
69635
|
}
|
|
69610
69636
|
}
|
|
@@ -69662,6 +69688,7 @@ class BpmnDiagram extends Diagram {
|
|
|
69662
69688
|
const startEvents = xmlDoc.getElementsByTagNameNS(bpmnNamespace, "startEvent");
|
|
69663
69689
|
for (let i2 = 0; i2 < startEvents.length; i2++) {
|
|
69664
69690
|
const startEventId = startEvents[i2].getAttribute("id");
|
|
69691
|
+
if (!layoutMap[startEventId]) continue;
|
|
69665
69692
|
const { width, height } = getDims(startEventId);
|
|
69666
69693
|
if (startEvents[i2].getElementsByTagNameNS(bpmnNamespace, "messageEventDefinition").length > 0) {
|
|
69667
69694
|
this.addMessageStartEvent(startEventId, width, height);
|
|
@@ -69678,6 +69705,7 @@ class BpmnDiagram extends Diagram {
|
|
|
69678
69705
|
const endEvents = xmlDoc.getElementsByTagNameNS(bpmnNamespace, "endEvent");
|
|
69679
69706
|
for (let i2 = 0; i2 < endEvents.length; i2++) {
|
|
69680
69707
|
const endEventId = endEvents[i2].getAttribute("id");
|
|
69708
|
+
if (!layoutMap[endEventId]) continue;
|
|
69681
69709
|
endEvents[i2].getAttribute("name");
|
|
69682
69710
|
endEvents[i2].getElementsByTagNameNS(bpmnNamespace, "incoming");
|
|
69683
69711
|
endEvents[i2].getElementsByTagNameNS(bpmnNamespace, "outgoing");
|
|
@@ -69701,6 +69729,7 @@ class BpmnDiagram extends Diagram {
|
|
|
69701
69729
|
for (let i2 = 0; i2 < intermediateCatchEvents.length; i2++) {
|
|
69702
69730
|
const intermediateCatchEventId = intermediateCatchEvents[i2].getAttribute("id");
|
|
69703
69731
|
intermediateCatchEvents[i2].getAttribute("name");
|
|
69732
|
+
if (!layoutMap[intermediateCatchEventId]) continue;
|
|
69704
69733
|
getDims(intermediateCatchEventId);
|
|
69705
69734
|
if (intermediateCatchEvents[i2].getElementsByTagNameNS(bpmnNamespace, "messageEventDefinition").length > 0) {
|
|
69706
69735
|
this.addIntermediateMessageCatchEvent(intermediateCatchEventId);
|
|
@@ -69720,6 +69749,7 @@ class BpmnDiagram extends Diagram {
|
|
|
69720
69749
|
for (let i2 = 0; i2 < intermediateThrowEvents.length; i2++) {
|
|
69721
69750
|
const intermediateThrowEventId = intermediateThrowEvents[i2].getAttribute("id");
|
|
69722
69751
|
intermediateThrowEvents[i2].getAttribute("name");
|
|
69752
|
+
if (!layoutMap[intermediateThrowEventId]) continue;
|
|
69723
69753
|
getDims(intermediateThrowEventId);
|
|
69724
69754
|
if (intermediateThrowEvents[i2].getElementsByTagNameNS(bpmnNamespace, "messageEventDefinition").length > 0) {
|
|
69725
69755
|
this.addIntermediateMessageThrowEvent(intermediateThrowEventId);
|
|
@@ -69735,12 +69765,42 @@ class BpmnDiagram extends Diagram {
|
|
|
69735
69765
|
this.addIntermediateEvent(intermediateThrowEventId);
|
|
69736
69766
|
}
|
|
69737
69767
|
}
|
|
69768
|
+
const subProcesses = xmlDoc.getElementsByTagNameNS(bpmnNamespace, "subProcess");
|
|
69769
|
+
for (let i2 = 0; i2 < subProcesses.length; i2++) {
|
|
69770
|
+
const subProcessId = subProcesses[i2].getAttribute("id");
|
|
69771
|
+
const name2 = subProcesses[i2].getAttribute("name");
|
|
69772
|
+
subProcesses[i2].getElementsByTagNameNS(bpmnNamespace, "incoming");
|
|
69773
|
+
subProcesses[i2].getElementsByTagNameNS(bpmnNamespace, "outgoing");
|
|
69774
|
+
const layout = getRawLayout(subProcessId);
|
|
69775
|
+
const isExpanded2 = layout.isExpanded || false;
|
|
69776
|
+
if (!layoutMap[subProcessId]) continue;
|
|
69777
|
+
let align = BPMN_DIMS.TEXT_ALIGN_TASK;
|
|
69778
|
+
let offset = BPMN_DIMS.TEXT_OFFSET_DEFAULT;
|
|
69779
|
+
let vAlign = "center";
|
|
69780
|
+
if (isExpanded2) {
|
|
69781
|
+
align = "center";
|
|
69782
|
+
vAlign = "top";
|
|
69783
|
+
offset = new Vector3(0, -10, 0);
|
|
69784
|
+
}
|
|
69785
|
+
this.addSubProcess(subProcessId, layout.width, layout.height, isExpanded2).addWrappedText(name2, offset, BPMN_DIMS.FONT_SIZE_TASK, align, layout.width * 0.9, layout.height, vAlign);
|
|
69786
|
+
}
|
|
69787
|
+
const callActivities = xmlDoc.getElementsByTagNameNS(bpmnNamespace, "callActivity");
|
|
69788
|
+
for (let i2 = 0; i2 < callActivities.length; i2++) {
|
|
69789
|
+
const callActivityId = callActivities[i2].getAttribute("id");
|
|
69790
|
+
const name2 = callActivities[i2].getAttribute("name");
|
|
69791
|
+
callActivities[i2].getElementsByTagNameNS(bpmnNamespace, "incoming");
|
|
69792
|
+
callActivities[i2].getElementsByTagNameNS(bpmnNamespace, "outgoing");
|
|
69793
|
+
if (!layoutMap[callActivityId]) continue;
|
|
69794
|
+
const { width, height } = getDims(callActivityId);
|
|
69795
|
+
this.addCallActivity(callActivityId, width, height).addWrappedText(name2, BPMN_DIMS.TEXT_OFFSET_DEFAULT, BPMN_DIMS.FONT_SIZE_TASK, BPMN_DIMS.TEXT_ALIGN_TASK);
|
|
69796
|
+
}
|
|
69738
69797
|
const tasks = xmlDoc.getElementsByTagNameNS(bpmnNamespace, "task");
|
|
69739
69798
|
for (let i2 = 0; i2 < tasks.length; i2++) {
|
|
69740
69799
|
const taskId = tasks[i2].getAttribute("id");
|
|
69741
69800
|
const name2 = tasks[i2].getAttribute("name");
|
|
69742
69801
|
tasks[i2].getElementsByTagNameNS(bpmnNamespace, "incoming");
|
|
69743
69802
|
tasks[i2].getElementsByTagNameNS(bpmnNamespace, "outgoing");
|
|
69803
|
+
if (!layoutMap[taskId]) continue;
|
|
69744
69804
|
const { width, height } = getDims(taskId);
|
|
69745
69805
|
this.addTask(taskId, width, height).addWrappedText(name2, BPMN_DIMS.TEXT_OFFSET_DEFAULT, BPMN_DIMS.FONT_SIZE_TASK, BPMN_DIMS.TEXT_ALIGN_TASK);
|
|
69746
69806
|
}
|
|
@@ -69750,6 +69810,7 @@ class BpmnDiagram extends Diagram {
|
|
|
69750
69810
|
const name2 = manualTasks[i2].getAttribute("name");
|
|
69751
69811
|
manualTasks[i2].getElementsByTagNameNS(bpmnNamespace, "incoming");
|
|
69752
69812
|
manualTasks[i2].getElementsByTagNameNS(bpmnNamespace, "outgoing");
|
|
69813
|
+
if (!layoutMap[manualTaskId]) continue;
|
|
69753
69814
|
const { width, height } = getDims(manualTaskId);
|
|
69754
69815
|
this.addManualTask(manualTaskId, width, height).addWrappedText(name2, BPMN_DIMS.TEXT_OFFSET_DEFAULT, BPMN_DIMS.FONT_SIZE_TASK, BPMN_DIMS.TEXT_ALIGN_TASK);
|
|
69755
69816
|
}
|
|
@@ -69759,6 +69820,7 @@ class BpmnDiagram extends Diagram {
|
|
|
69759
69820
|
const name2 = userTasks[i2].getAttribute("name");
|
|
69760
69821
|
userTasks[i2].getElementsByTagNameNS(bpmnNamespace, "incoming");
|
|
69761
69822
|
userTasks[i2].getElementsByTagNameNS(bpmnNamespace, "outgoing");
|
|
69823
|
+
if (!layoutMap[userTaskId]) continue;
|
|
69762
69824
|
const { width, height } = getDims(userTaskId);
|
|
69763
69825
|
this.addUserTask(userTaskId, width, height).addWrappedText(name2, BPMN_DIMS.TEXT_OFFSET_DEFAULT, BPMN_DIMS.FONT_SIZE_TASK, BPMN_DIMS.TEXT_ALIGN_TASK);
|
|
69764
69826
|
}
|
|
@@ -69768,6 +69830,7 @@ class BpmnDiagram extends Diagram {
|
|
|
69768
69830
|
const name2 = scriptTasks[i2].getAttribute("name");
|
|
69769
69831
|
scriptTasks[i2].getElementsByTagNameNS(bpmnNamespace, "incoming");
|
|
69770
69832
|
scriptTasks[i2].getElementsByTagNameNS(bpmnNamespace, "outgoing");
|
|
69833
|
+
if (!layoutMap[scriptTaskId]) continue;
|
|
69771
69834
|
const { width, height } = getDims(scriptTaskId);
|
|
69772
69835
|
this.addScriptTask(scriptTaskId, width, height).addWrappedText(name2, BPMN_DIMS.TEXT_OFFSET_DEFAULT, BPMN_DIMS.FONT_SIZE_TASK, BPMN_DIMS.TEXT_ALIGN_TASK);
|
|
69773
69836
|
}
|
|
@@ -69777,6 +69840,7 @@ class BpmnDiagram extends Diagram {
|
|
|
69777
69840
|
const name2 = businessRuleTasks[i2].getAttribute("name");
|
|
69778
69841
|
businessRuleTasks[i2].getElementsByTagNameNS(bpmnNamespace, "incoming");
|
|
69779
69842
|
businessRuleTasks[i2].getElementsByTagNameNS(bpmnNamespace, "outgoing");
|
|
69843
|
+
if (!layoutMap[businessRuleTaskId]) continue;
|
|
69780
69844
|
const { width, height } = getDims(businessRuleTaskId);
|
|
69781
69845
|
this.addBusinessRuleTask(businessRuleTaskId, width, height).addWrappedText(name2, BPMN_DIMS.TEXT_OFFSET_DEFAULT, BPMN_DIMS.FONT_SIZE_TASK, BPMN_DIMS.TEXT_ALIGN_TASK);
|
|
69782
69846
|
}
|
|
@@ -69786,6 +69850,7 @@ class BpmnDiagram extends Diagram {
|
|
|
69786
69850
|
const name2 = serviceTasks[i2].getAttribute("name");
|
|
69787
69851
|
serviceTasks[i2].getElementsByTagNameNS(bpmnNamespace, "incoming");
|
|
69788
69852
|
serviceTasks[i2].getElementsByTagNameNS(bpmnNamespace, "outgoing");
|
|
69853
|
+
if (!layoutMap[serviceTaskId]) continue;
|
|
69789
69854
|
const { width, height } = getDims(serviceTaskId);
|
|
69790
69855
|
this.addServiceTask(serviceTaskId, width, height).addWrappedText(name2, BPMN_DIMS.TEXT_OFFSET_DEFAULT, BPMN_DIMS.FONT_SIZE_TASK, BPMN_DIMS.TEXT_ALIGN_TASK);
|
|
69791
69856
|
}
|
|
@@ -69795,6 +69860,7 @@ class BpmnDiagram extends Diagram {
|
|
|
69795
69860
|
const name2 = sendTasks[i2].getAttribute("name");
|
|
69796
69861
|
sendTasks[i2].getElementsByTagNameNS(bpmnNamespace, "incoming");
|
|
69797
69862
|
sendTasks[i2].getElementsByTagNameNS(bpmnNamespace, "outgoing");
|
|
69863
|
+
if (!layoutMap[sendTaskId]) continue;
|
|
69798
69864
|
const { width, height } = getDims(sendTaskId);
|
|
69799
69865
|
this.addSendTask(sendTaskId, width, height).addWrappedText(name2, BPMN_DIMS.TEXT_OFFSET_DEFAULT, BPMN_DIMS.FONT_SIZE_TASK, BPMN_DIMS.TEXT_ALIGN_TASK);
|
|
69800
69866
|
}
|
|
@@ -69804,6 +69870,7 @@ class BpmnDiagram extends Diagram {
|
|
|
69804
69870
|
const name2 = receiveTasks[i2].getAttribute("name");
|
|
69805
69871
|
receiveTasks[i2].getElementsByTagNameNS(bpmnNamespace, "incoming");
|
|
69806
69872
|
receiveTasks[i2].getElementsByTagNameNS(bpmnNamespace, "outgoing");
|
|
69873
|
+
if (!layoutMap[receiveTaskId]) continue;
|
|
69807
69874
|
const { width, height } = getDims(receiveTaskId);
|
|
69808
69875
|
this.addReceiveTask(receiveTaskId, width, height).addWrappedText(name2, BPMN_DIMS.TEXT_OFFSET_DEFAULT, BPMN_DIMS.FONT_SIZE_TASK, BPMN_DIMS.TEXT_ALIGN_TASK);
|
|
69809
69876
|
}
|
|
@@ -69813,6 +69880,7 @@ class BpmnDiagram extends Diagram {
|
|
|
69813
69880
|
inclusiveGateways[i2].getAttribute("name");
|
|
69814
69881
|
inclusiveGateways[i2].getElementsByTagNameNS(bpmnNamespace, "incoming");
|
|
69815
69882
|
inclusiveGateways[i2].getElementsByTagNameNS(bpmnNamespace, "outgoing");
|
|
69883
|
+
if (!layoutMap[gatewayId]) continue;
|
|
69816
69884
|
const { width, height } = getDims(gatewayId);
|
|
69817
69885
|
this.addInclusiveGateway(gatewayId, width, height);
|
|
69818
69886
|
}
|
|
@@ -69822,6 +69890,7 @@ class BpmnDiagram extends Diagram {
|
|
|
69822
69890
|
exclusiveGateways[i2].getAttribute("name");
|
|
69823
69891
|
exclusiveGateways[i2].getElementsByTagNameNS(bpmnNamespace, "incoming");
|
|
69824
69892
|
exclusiveGateways[i2].getElementsByTagNameNS(bpmnNamespace, "outgoing");
|
|
69893
|
+
if (!layoutMap[gatewayId]) continue;
|
|
69825
69894
|
const { width, height } = getDims(gatewayId);
|
|
69826
69895
|
this.addExclusiveGateway(gatewayId, width, height);
|
|
69827
69896
|
}
|
|
@@ -69831,6 +69900,7 @@ class BpmnDiagram extends Diagram {
|
|
|
69831
69900
|
parallelGateways[i2].getAttribute("name");
|
|
69832
69901
|
parallelGateways[i2].getElementsByTagNameNS(bpmnNamespace, "incoming");
|
|
69833
69902
|
parallelGateways[i2].getElementsByTagNameNS(bpmnNamespace, "outgoing");
|
|
69903
|
+
if (!layoutMap[gatewayId]) continue;
|
|
69834
69904
|
const { width, height } = getDims(gatewayId);
|
|
69835
69905
|
this.addParallelGateway(gatewayId, width, height);
|
|
69836
69906
|
}
|
|
@@ -69840,6 +69910,7 @@ class BpmnDiagram extends Diagram {
|
|
|
69840
69910
|
eventBasedGateways[i2].getAttribute("name");
|
|
69841
69911
|
eventBasedGateways[i2].getElementsByTagNameNS(bpmnNamespace, "incoming");
|
|
69842
69912
|
eventBasedGateways[i2].getElementsByTagNameNS(bpmnNamespace, "outgoing");
|
|
69913
|
+
if (!layoutMap[gatewayId]) continue;
|
|
69843
69914
|
const { width, height } = getDims(gatewayId);
|
|
69844
69915
|
this.addEventBasedGateway(gatewayId, width, height);
|
|
69845
69916
|
}
|
|
@@ -69849,6 +69920,7 @@ class BpmnDiagram extends Diagram {
|
|
|
69849
69920
|
complexGateways[i2].getAttribute("name");
|
|
69850
69921
|
complexGateways[i2].getElementsByTagNameNS(bpmnNamespace, "incoming");
|
|
69851
69922
|
complexGateways[i2].getElementsByTagNameNS(bpmnNamespace, "outgoing");
|
|
69923
|
+
if (!layoutMap[gatewayId]) continue;
|
|
69852
69924
|
const { width, height } = getDims(gatewayId);
|
|
69853
69925
|
this.addComplexGateway(gatewayId, width, height);
|
|
69854
69926
|
}
|
|
@@ -69864,10 +69936,11 @@ class BpmnDiagram extends Diagram {
|
|
|
69864
69936
|
const id = textAnnotations[i2].getAttribute("id");
|
|
69865
69937
|
const textNode = textAnnotations[i2].getElementsByTagNameNS(bpmnNamespace, "text")[0];
|
|
69866
69938
|
const text = textNode ? textNode.textContent : "";
|
|
69939
|
+
if (!layoutMap[id]) continue;
|
|
69867
69940
|
const { width, height } = getDims(id);
|
|
69868
69941
|
this.addTextAnnotation(id, text, width, height);
|
|
69869
69942
|
}
|
|
69870
|
-
const bpmnShapesToPosition =
|
|
69943
|
+
const bpmnShapesToPosition = mainDiagram.getElementsByTagNameNS(bpmndiNamespace, "BPMNShape");
|
|
69871
69944
|
for (let i2 = 0; i2 < bpmnShapesToPosition.length; i2++) {
|
|
69872
69945
|
const bpmnShape = bpmnShapesToPosition[i2];
|
|
69873
69946
|
bpmnShape.getAttribute("id");
|
|
@@ -69938,7 +70011,7 @@ class BpmnDiagram extends Diagram {
|
|
|
69938
70011
|
}
|
|
69939
70012
|
}
|
|
69940
70013
|
}
|
|
69941
|
-
const bpmnEdges =
|
|
70014
|
+
const bpmnEdges = mainDiagram.getElementsByTagNameNS(bpmndiNamespace, "BPMNEdge");
|
|
69942
70015
|
for (let i2 = 0; i2 < bpmnEdges.length; i2++) {
|
|
69943
70016
|
const bpmnEdge = bpmnEdges[i2];
|
|
69944
70017
|
const bpmnEdgeId = bpmnEdge.getAttribute("id");
|