feat(bpmnrenderer): add activity marker rendering

close #18
This commit is contained in:
jdotzki 2014-05-05 17:22:43 +02:00
parent e13691d91b
commit 048ce1e9cc
5 changed files with 584 additions and 8 deletions

View File

@ -144,10 +144,6 @@ function BpmnRenderer(events, styles, bpmnRegistry, pathMap) {
function drawRect(p, width, height, r, offset) { function drawRect(p, width, height, r, offset) {
offset = offset || 0; offset = offset || 0;
var x, y;
x = y = offset;
return p.rect(offset, offset, width - offset * 2, height - offset * 2, r).attr({ return p.rect(offset, offset, width - offset * 2, height - offset * 2, r).attr({
'stroke': 'Black', 'stroke': 'Black',
'stroke-width': 2, 'stroke-width': 2,
@ -183,7 +179,7 @@ function BpmnRenderer(events, styles, bpmnRegistry, pathMap) {
var fillColor = fill ? 'Black' : 'None'; var fillColor = fill ? 'Black' : 'None';
var path = p.path(d).attr(styles.style([ 'no-fill' ],{ var path = p.path(d).attr(styles.style([ 'no-fill' ],{
'stroke-width': 2, 'stroke-width': 1,
'stroke': 'Black', 'stroke': 'Black',
'fill': fillColor 'fill': fillColor
})); }));
@ -600,6 +596,7 @@ function BpmnRenderer(events, styles, bpmnRegistry, pathMap) {
'bpmn:Task': function(p, data) { 'bpmn:Task': function(p, data) {
var rect = renderer('bpmn:Activity')(p, data); var rect = renderer('bpmn:Activity')(p, data);
renderEmbeddedLabel(p, data, 'center-middle'); renderEmbeddedLabel(p, data, 'center-middle');
attachTaskMarkers(p, data);
return rect; return rect;
}, },
'bpmn:ServiceTask': as('bpmn:Task'), 'bpmn:ServiceTask': as('bpmn:Task'),
@ -612,12 +609,24 @@ function BpmnRenderer(events, styles, bpmnRegistry, pathMap) {
'bpmn:SubProcess': function(p, data) { 'bpmn:SubProcess': function(p, data) {
var rect = renderer('bpmn:Activity')(p, data); var rect = renderer('bpmn:Activity')(p, data);
var di = bpmnRegistry.getDi(data); var di = bpmnRegistry.getDi(data);
renderEmbeddedLabel(p, data, di.isExpanded ? 'center-top' : 'center-middle'); renderEmbeddedLabel(p, data, di.isExpanded ? 'center-top' : 'center-middle');
if(di.isExpanded) {
attachTaskMarkers(p, data);
} else {
attachTaskMarkers(p, data, ['SubProcessMarker']);
}
return rect; return rect;
}, },
'bpmn:AdHocSubProcess': as('bpmn:SubProcess'), 'bpmn:AdHocSubProcess': function(p, data) {
var process = renderer('bpmn:SubProcess')(p, data);
return process;
},
'bpmn:Transaction': function(p, data) { 'bpmn:Transaction': function(p, data) {
var outer = renderer('bpmn:SubProcess')(p, data); var outer = renderer('bpmn:SubProcess')(p, data);
var inner = drawRect(p, data.width, data.height, TASK_BORDER_RADIUS - 2, INNER_OUTER_DIST) var inner = drawRect(p, data.width, data.height, TASK_BORDER_RADIUS - 2, INNER_OUTER_DIST)
@ -974,15 +983,159 @@ function BpmnRenderer(events, styles, bpmnRegistry, pathMap) {
my: 0.0 my: 0.0
} }
}); });
var textPath = drawPath(p, textPathData); drawPath(p, textPathData);
var text = bpmnRegistry.getSemantic(data.id).text || ''; var text = bpmnRegistry.getSemantic(data.id).text || '';
var label = renderLabel(p, text, { box: data, align: 'left-middle' }); var label = renderLabel(p, text, { box: data, align: 'left-middle' });
return label; return label;
},
'SubProcessMarker': function(p, data) {
var markerRect = drawRect(p, 14, 14, 0);
// Process marker is placed in the middle of the box
// therefore fixed values can be used here
markerRect.transform('translate(' + (data.width / 2 - 7.5) + ',' + (data.height - 20) + ')');
markerRect.attr({
'stroke-width': 1
});
var subProcessPath = pathMap.getScaledPath('MARKER_SUB_PROCESS', {
xScaleFactor: 1.5,
yScaleFactor: 1.5,
containerWidth: data.width,
containerHeight: data.height,
position: {
mx: (data.width / 2 - 7.5) / data.width,
my: (data.height - 20) / data.height
}
});
drawPath(p, subProcessPath);
},
'ParallelMarker': function(p, data, position) {
var subProcessPath = pathMap.getScaledPath('MARKER_PARALLEL', {
xScaleFactor: 1,
yScaleFactor: 1,
containerWidth: data.width,
containerHeight: data.height,
position: {
mx: ((data.width / 2 + position.parallel) / data.width),
my: (data.height - 20) / data.height
}
});
drawPath(p, subProcessPath);
},
'SequentialMarker': function(p, data, position) {
var sequentialPath = pathMap.getScaledPath('MARKER_SEQUENTIAL', {
xScaleFactor: 1,
yScaleFactor: 1,
containerWidth: data.width,
containerHeight: data.height,
position: {
mx: ((data.width / 2 + position.seq) / data.width),
my: (data.height - 19) / data.height
}
});
drawPath(p, sequentialPath);
},
'CompensationMarker': function(p, data, position) {
var compensationPath = pathMap.getScaledPath('MARKER_COMPENSATION', {
xScaleFactor: 1,
yScaleFactor: 1,
containerWidth: data.width,
containerHeight: data.height,
position: {
mx: ((data.width / 2 + position.compensation) / data.width),
my: (data.height - 13) / data.height
}
});
drawPath(p, compensationPath);
},
'LoopMarker': function(p, data, position) {
var loopPath = pathMap.getScaledPath('MARKER_LOOP', {
xScaleFactor: 1,
yScaleFactor: 1,
containerWidth: data.width,
containerHeight: data.height,
position: {
mx: ((data.width / 2 + position.loop) / data.width),
my: (data.height - 7) / data.height
}
});
var marker = drawPath(p, loopPath);
marker.attr({
'stroke-width': 1,
'fill': 'None',
'stroke-linecap':'round',
'stroke-miterlimit':0.5
});
},
'AdhocMarker': function(p, data, position) {
console.log(data);
var loopPath = pathMap.getScaledPath('MARKER_ADHOC', {
xScaleFactor: 1,
yScaleFactor: 1,
containerWidth: data.width,
containerHeight: data.height,
position: {
mx: ((data.width / 2 + position.adhoc) / data.width),
my: (data.height - 15) / data.height
}
});
var marker = drawPath(p, loopPath);
marker.attr({
'stroke-width': 1,
'fill': 'Black'
});
}
};
function attachTaskMarkers(p, data, taskMarkers) {
var obj = bpmnRegistry.getSemantic(data.id);
var subprocess = _.contains(taskMarkers, 'SubProcessMarker');
var position;
if(subprocess) {
position = {
seq: -21,
parallel: -22,
compensation: -42,
loop: -18,
adhoc: 10
};
} else {
position = {
seq: -3,
parallel: -6,
compensation: -27,
loop: 0,
adhoc: 10
};
} }
}; _.forEach(taskMarkers, function(marker) {
renderer(marker)(p, data, position);
});
if(obj.$type === 'bpmn:AdHocSubProcess') {
renderer('AdhocMarker')(p, data, position);
}
if(obj.loopCharacteristics && obj.loopCharacteristics.isSequential === undefined) {
renderer('LoopMarker')(p, data, position);
return;
}
if(obj.loopCharacteristics &&
obj.loopCharacteristics.isSequential !== undefined &&
!obj.loopCharacteristics.isSequential) {
renderer('ParallelMarker')(p, data, position);
}
if(obj.loopCharacteristics && !!obj.loopCharacteristics.isSequential) {
renderer('SequentialMarker')(p, data, position);
}
if(!!obj.isForCompensation) {
renderer('CompensationMarker')(p, data, position);
}
}
function drawShape(parent, data) { function drawShape(parent, data) {
var type = data.type; var type = data.type;

View File

@ -204,6 +204,55 @@ function PathMap(Snap) {
width: 10, width: 10,
heightElements: [30], heightElements: [30],
widthElements: [10] widthElements: [10]
},
'MARKER_SUB_PROCESS': {
d: 'm{mx} {my}, m 7,2 l 0,10 m -5,-5 l 10,0',
height: 10,
width: 10,
heightElements: [],
widthElements: []
},
'MARKER_PARALLEL': {
d: 'm{mx} {my}, m 3,2 l 0,10 m 3,-10 l 0,10 m 3,-10 l 0,10',
height: 10,
width: 10,
heightElements: [],
widthElements: []
},
'MARKER_SEQUENTIAL': {
d: 'm{mx} {my}, m 0,3 l 10,0 m -10,3 l 10,0 m -10,3 l 10,0',
height: 10,
width: 10,
heightElements: [],
widthElements: []
},
'MARKER_COMPENSATION': {
d: 'm {mx},{my} 8,-5 0,10 z m 9,0 8,-5 0,10 z',
height: 10,
width: 21,
heightElements: [],
widthElements: []
},
'MARKER_LOOP': {
d: 'm {mx},{my} c 3.526979,0 6.386161,-2.829858 6.386161,-6.320661 0,-3.490806 -2.859182,-6.320661 ' +
'-6.386161,-6.320661 -3.526978,0 -6.38616,2.829855 -6.38616,6.320661 0,1.745402 ' +
'0.714797,3.325567 1.870463,4.469381 0.577834,0.571908 1.265885,1.034728 2.029916,1.35457 ' +
'l -0.718163,-3.909793 m 0.718163,3.909793 -3.885211,0.802902',
height: 13.9,
width: 13.7,
heightElements: [],
widthElements: []
},
'MARKER_ADHOC': {
d: 'm {mx},{my} m 0.84461,2.64411 c 1.05533,-1.23780996 2.64337,-2.07882 4.29653,-1.97997996 2.05163,0.0805 ' +
'3.85579,1.15803 5.76082,1.79107 1.06385,0.34139996 2.24454,0.1438 3.18759,-0.43767 0.61743,-0.33642 ' +
'1.2775,-0.64078 1.7542,-1.17511 0,0.56023 0,1.12046 0,1.6807 -0.98706,0.96237996 -2.29792,1.62393996 ' +
'-3.6918,1.66181996 -1.24459,0.0927 -2.46671,-0.2491 -3.59505,-0.74812 -1.35789,-0.55965 ' +
'-2.75133,-1.33436996 -4.27027,-1.18121996 -1.37741,0.14601 -2.41842,1.13685996 -3.44288,1.96782996 z',
height: 4,
width: 15,
heightElements: [],
widthElements: []
} }
}; };

View File

@ -0,0 +1,141 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
expressionLanguage="http://www.w3.org/1999/XPath"
id="sid-c2a526da-d1df-4c64-b710-8b0c72d0db85"
typeLanguage="http://www.w3.org/2001/XMLSchema"
xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/2.0/20100501/BPMN20.xsd">
<process id="sid-2fbff280-3275-4869-b102-a532da7f4ea7" isClosed="false" isExecutable="false" processType="None">
<task completionQuantity="1" id="sid-FE66EBF4-758A-4245-94C4-7692A2076B67" isForCompensation="false" startQuantity="1">
<standardLoopCharacteristics id="sid-d89161b1-44d4-43fd-bac9-5285c07de74d" testBefore="false"/>
</task>
<task completionQuantity="1" id="sid-868D1BDD-191A-4FE7-B6C0-07A3198C23A6" isForCompensation="false" startQuantity="1">
<multiInstanceLoopCharacteristics behavior="All" id="sid-57b908b2-e2ce-4c46-95d0-59960ca55127" isSequential="false"/>
</task>
<task completionQuantity="1" id="sid-6D13487A-560B-432F-9566-43EB2DFE1D3F" isForCompensation="true" startQuantity="1">
</task>
<task completionQuantity="1" id="sid-A76D5353-DFD4-48CA-B585-C136154D7285" isForCompensation="true" startQuantity="1">
<standardLoopCharacteristics id="sid-62aac0ea-7835-44df-bfd8-2d46721036a5" testBefore="false"/>
</task>
<task completionQuantity="1" id="sid-887BECC3-2EFA-4BDB-BE8F-400C2F59254C" isForCompensation="true" startQuantity="1">
<multiInstanceLoopCharacteristics behavior="All" id="sid-36899ac0-87bd-460e-a5b9-f79906d585ad" isSequential="false"/>
</task>
<subProcess completionQuantity="1" id="sid-EA23264A-403E-4959-BE96-37DFC8CD98EA" isForCompensation="false" startQuantity="1" triggeredByEvent="false">
<standardLoopCharacteristics id="sid-e0aa100d-8aaf-48d3-b3cf-3d6e06673f0c" testBefore="false"/>
</subProcess>
<subProcess completionQuantity="1" id="sid-88D992A6-9369-41B6-BEEA-B46C2BC16233" isForCompensation="false" startQuantity="1" triggeredByEvent="false">
<multiInstanceLoopCharacteristics behavior="All" id="sid-2c90f653-8377-4cfd-bf88-90a2e67b766e" isSequential="false"/>
</subProcess>
<subProcess completionQuantity="1" id="sid-8284D475-31D0-4B19-B8A8-64B78E803D22" isForCompensation="true" startQuantity="1" triggeredByEvent="false" />
<subProcess completionQuantity="1" id="sid-DB0852D2-C8F3-42CD-A54B-E552A37ED5F7" isForCompensation="true" startQuantity="1" triggeredByEvent="false">
<standardLoopCharacteristics id="sid-0b178290-c506-408b-a051-8718c4a765c3" testBefore="false"/>
</subProcess>
<subProcess completionQuantity="1" id="sid-D901CA84-76CA-4411-BD26-1D650610D285" isForCompensation="true" startQuantity="1" triggeredByEvent="false">
<multiInstanceLoopCharacteristics behavior="All" id="sid-da99999a-f046-4345-bff6-4217239d15cd" isSequential="false"/>
</subProcess>
<subProcess completionQuantity="1" id="sid-B30D2E6C-AA4F-4223-B195-5CB6D99C6CFB" isForCompensation="false" startQuantity="1" triggeredByEvent="false">
<multiInstanceLoopCharacteristics behavior="All" id="sid-d7bcf2ce-5d4d-4616-ae23-edf25fea5029" isSequential="true"/>
</subProcess>
<subProcess completionQuantity="1" id="sid-658AA54E-CEC8-4DB5-A57F-D37B892E15CA" isForCompensation="true" startQuantity="1" triggeredByEvent="false">
<multiInstanceLoopCharacteristics behavior="All" id="sid-6bbe256e-ffa2-4c9c-bf2f-7daffac9618f" isSequential="true"/>
</subProcess>
<adHocSubProcess cancelRemainingInstances="true" completionQuantity="1" id="sid-8D664235-6E97-4C75-BAF5-3EBA4F181502" isForCompensation="false" ordering="Sequential" startQuantity="1" triggeredByEvent="false" />
<adHocSubProcess cancelRemainingInstances="true" completionQuantity="1" id="sid-5E5AA28F-EFE4-499C-AD97-ED6B1BDF0C42" isForCompensation="true" ordering="Sequential" startQuantity="1" triggeredByEvent="false" />
<adHocSubProcess cancelRemainingInstances="true" completionQuantity="1" id="sid-1A3345D0-8FEB-46B1-9A75-7DD60B05196E" isForCompensation="false" ordering="Sequential" startQuantity="1" triggeredByEvent="false" >
<standardLoopCharacteristics id="sid-54f5f687-34c6-4a0d-95c4-181c255aea12" testBefore="false"/>
</adHocSubProcess>
<adHocSubProcess cancelRemainingInstances="true" completionQuantity="1" id="sid-3C1F2067-5DF7-435F-90BE-4B05D81B8FAF" isForCompensation="false" ordering="Sequential" startQuantity="1" triggeredByEvent="false">
<multiInstanceLoopCharacteristics behavior="All" id="sid-9e81b69c-a161-4e37-b930-2c8871274132" isSequential="false"/>
</adHocSubProcess>
<adHocSubProcess cancelRemainingInstances="true" completionQuantity="1" id="sid-FA255E5E-9B23-4D0D-9C63-38796DA0BAB4" isForCompensation="false" ordering="Sequential" startQuantity="1" triggeredByEvent="false">
<multiInstanceLoopCharacteristics behavior="All" id="sid-7b8d0c27-8326-4c8a-84e6-4cc14c168652" isSequential="true"/>
</adHocSubProcess>
<adHocSubProcess cancelRemainingInstances="true" completionQuantity="1" id="sid-E8DD968C-3EB8-4F64-A2A1-D75FA01EFAD3" isForCompensation="true" ordering="Sequential" startQuantity="1" triggeredByEvent="false">
<standardLoopCharacteristics id="sid-f2f922b2-c483-4a33-aefd-1affe37690f5" testBefore="false"/>
</adHocSubProcess>
<adHocSubProcess cancelRemainingInstances="true" completionQuantity="1" id="sid-14B412F4-33F0-4666-B48D-43AFE8368FD1" isForCompensation="true" ordering="Sequential" startQuantity="1" triggeredByEvent="false">
<multiInstanceLoopCharacteristics behavior="All" id="sid-5208dff3-461d-4bd9-a632-cabd23c6722d" isSequential="false"/>
</adHocSubProcess>
<adHocSubProcess cancelRemainingInstances="true" completionQuantity="1" id="sid-F279C3DB-6147-4465-8097-E0ED12CC891D" isForCompensation="true" ordering="Sequential" startQuantity="1" triggeredByEvent="false">
<multiInstanceLoopCharacteristics behavior="All" id="sid-a249cc76-7cb1-4fff-ab32-57f07ee01b93" isSequential="true"/>
</adHocSubProcess>
<task completionQuantity="1" id="sid-AC450A8A-6E0A-4EFC-AD44-95D634591420" isForCompensation="false" startQuantity="1">
<multiInstanceLoopCharacteristics behavior="All" id="sid-92fa36a9-0bf3-4d60-ac7b-06ac8510234b" isSequential="true"/>
</task>
<task completionQuantity="1" id="sid-4265AA7D-2D77-4A0A-B7D9-28128B857EAB" isForCompensation="true" startQuantity="1">
<multiInstanceLoopCharacteristics behavior="All" id="sid-1ac5d8b3-11b7-411f-b59b-2ab1a1f7a8e8" isSequential="true"/>
</task>
</process>
<bpmndi:BPMNDiagram id="sid-010c2e7e-63de-4a34-a2dd-71fc915b604c">
<bpmndi:BPMNPlane bpmnElement="sid-2fbff280-3275-4869-b102-a532da7f4ea7" id="sid-420c5fe7-b70e-4ed2-a21e-03e8f1d777e2">
<bpmndi:BPMNShape bpmnElement="sid-FE66EBF4-758A-4245-94C4-7692A2076B67" id="sid-FE66EBF4-758A-4245-94C4-7692A2076B67_gui">
<omgdc:Bounds height="80.0" width="100.0" x="75.0" y="60.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-868D1BDD-191A-4FE7-B6C0-07A3198C23A6" id="sid-868D1BDD-191A-4FE7-B6C0-07A3198C23A6_gui">
<omgdc:Bounds height="80.0" width="100.0" x="220.0" y="60.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-6D13487A-560B-432F-9566-43EB2DFE1D3F" id="sid-6D13487A-560B-432F-9566-43EB2DFE1D3F_gui">
<omgdc:Bounds height="80.0" width="100.0" x="365.0" y="60.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-A76D5353-DFD4-48CA-B585-C136154D7285" id="sid-A76D5353-DFD4-48CA-B585-C136154D7285_gui">
<omgdc:Bounds height="80.0" width="100.0" x="510.0" y="60.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-887BECC3-2EFA-4BDB-BE8F-400C2F59254C" id="sid-887BECC3-2EFA-4BDB-BE8F-400C2F59254C_gui">
<omgdc:Bounds height="80.0" width="100.0" x="655.0" y="60.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-EA23264A-403E-4959-BE96-37DFC8CD98EA" id="sid-EA23264A-403E-4959-BE96-37DFC8CD98EA_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="75.0" y="305.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-88D992A6-9369-41B6-BEEA-B46C2BC16233" id="sid-88D992A6-9369-41B6-BEEA-B46C2BC16233_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="220.0" y="305.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-8284D475-31D0-4B19-B8A8-64B78E803D22" id="sid-8284D475-31D0-4B19-B8A8-64B78E803D22_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="375.0" y="305.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-DB0852D2-C8F3-42CD-A54B-E552A37ED5F7" id="sid-DB0852D2-C8F3-42CD-A54B-E552A37ED5F7_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="510.0" y="305.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-D901CA84-76CA-4411-BD26-1D650610D285" id="sid-D901CA84-76CA-4411-BD26-1D650610D285_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="655.0" y="305.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-B30D2E6C-AA4F-4223-B195-5CB6D99C6CFB" id="sid-B30D2E6C-AA4F-4223-B195-5CB6D99C6CFB_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="220.0" y="430.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-658AA54E-CEC8-4DB5-A57F-D37B892E15CA" id="sid-658AA54E-CEC8-4DB5-A57F-D37B892E15CA_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="655.0" y="435.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-8D664235-6E97-4C75-BAF5-3EBA4F181502" id="sid-8D664235-6E97-4C75-BAF5-3EBA4F181502_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="75.0" y="555.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-5E5AA28F-EFE4-499C-AD97-ED6B1BDF0C42" id="sid-5E5AA28F-EFE4-499C-AD97-ED6B1BDF0C42_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="220.0" y="555.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-1A3345D0-8FEB-46B1-9A75-7DD60B05196E" id="sid-1A3345D0-8FEB-46B1-9A75-7DD60B05196E_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="375.0" y="555.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-3C1F2067-5DF7-435F-90BE-4B05D81B8FAF" id="sid-3C1F2067-5DF7-435F-90BE-4B05D81B8FAF_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="520.0" y="555.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-FA255E5E-9B23-4D0D-9C63-38796DA0BAB4" id="sid-FA255E5E-9B23-4D0D-9C63-38796DA0BAB4_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="520.0" y="680.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-E8DD968C-3EB8-4F64-A2A1-D75FA01EFAD3" id="sid-E8DD968C-3EB8-4F64-A2A1-D75FA01EFAD3_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="75.0" y="805.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-14B412F4-33F0-4666-B48D-43AFE8368FD1" id="sid-14B412F4-33F0-4666-B48D-43AFE8368FD1_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="220.0" y="805.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-F279C3DB-6147-4465-8097-E0ED12CC891D" id="sid-F279C3DB-6147-4465-8097-E0ED12CC891D_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="220.0" y="930.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-AC450A8A-6E0A-4EFC-AD44-95D634591420" id="sid-AC450A8A-6E0A-4EFC-AD44-95D634591420_gui">
<omgdc:Bounds height="80.0" width="100.0" x="220.0" y="180.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-4265AA7D-2D77-4A0A-B7D9-28128B857EAB" id="sid-4265AA7D-2D77-4A0A-B7D9-28128B857EAB_gui">
<omgdc:Bounds height="80.0" width="100.0" x="655.0" y="180.0"/>
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>

View File

@ -0,0 +1,212 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
targetNamespace="http://www.signavio.com/bpmn20"
typeLanguage="http://www.w3.org/2001/XMLSchema"
xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/2.0/20100501/BPMN20.xsd">
<process id="sid-15cc2485-b523-4454-ab26-6c27fc23ffb3" isClosed="false" isExecutable="false" processType="None">
<subProcess completionQuantity="1" id="sid-AD308F5E-8D3B-41A5-ACD1-123F98BD3EF7" isForCompensation="false" name="Sub-ProcessMarker" startQuantity="1" triggeredByEvent="false" />
<callActivity completionQuantity="1" id="sid-63E4F5FA-DBBE-4173-9F58-DF9A55064C2D" isForCompensation="false" name="Sub-ProcessMarker" startQuantity="1" />
<transaction completionQuantity="1" id="sid-F85AA892-DEB3-4B68-98C0-890EFCE62A68" isForCompensation="false" method="compensate" name="Sub-ProcessMarker" startQuantity="1" triggeredByEvent="false" />
<subProcess completionQuantity="1" id="sid-1FE60272-406F-42E6-B0E1-35D4088F37BE" isForCompensation="false" name="Sub-ProcessMarker" startQuantity="1" triggeredByEvent="true" />
<task completionQuantity="1" id="sid-F82F2B0D-2E7D-4A28-BBF7-E060EF72A5F0" isForCompensation="false" name="parallel" startQuantity="1">
<multiInstanceLoopCharacteristics behavior="All" id="sid-dbf6c638-c848-4033-9b05-359fcdb8d137" isSequential="false"/>
</task>
<subProcess completionQuantity="1" id="sid-D4AE3F6A-4ECE-4CEC-AACD-D7EE0AE67B35" isForCompensation="false" name="parallel&#10;" startQuantity="1" triggeredByEvent="true">
<multiInstanceLoopCharacteristics behavior="All" id="sid-3e57c9b9-4819-4cde-9f2b-88470062e3f8" isSequential="false"/>
</subProcess>
<subProcess completionQuantity="1" id="sid-15EF6D61-CB3E-452F-8F20-BDB4F2299D29" isForCompensation="false" startQuantity="1" triggeredByEvent="false">
<multiInstanceLoopCharacteristics behavior="All" id="sid-8bbf3c1a-27a4-4e51-bec7-57bf283355b6" isSequential="false"/>
</subProcess>
<task completionQuantity="1" id="sid-B29FF0A9-9925-4671-8DE2-8F600C16F389" isForCompensation="false" name="sequential" startQuantity="1">
<multiInstanceLoopCharacteristics behavior="All" id="sid-345eb378-4929-4f70-89ee-d47d10613237" isSequential="true"/>
</task>
<subProcess completionQuantity="1" id="sid-15AD7063-1830-4914-B921-DD9484A24658" isForCompensation="false" name="sequential" startQuantity="1" triggeredByEvent="true">
<multiInstanceLoopCharacteristics behavior="All" id="sid-bbc28b98-8097-4ed2-836b-937fd09b2867" isSequential="true"/>
</subProcess>
<subProcess completionQuantity="1" id="sid-0C2B7A1D-CAAA-48CE-95B6-D8F02BB3EBCA" isForCompensation="false" startQuantity="1" triggeredByEvent="false">
<multiInstanceLoopCharacteristics behavior="All" id="sid-c2e39c3b-2cc4-4d08-be66-0ffb150108be" isSequential="true"/>
</subProcess>
<task completionQuantity="1" id="sid-F142BAED-B37D-42F7-884C-FD8F8CBDAA25" isForCompensation="true" name="Compensation" startQuantity="1" />
<transaction completionQuantity="1" id="sid-B7FD84D9-52BF-4289-BEB3-AB3BED815D78" isForCompensation="true" method="compensate" name="Compensation" startQuantity="1" triggeredByEvent="false" />
<subProcess completionQuantity="1" id="sid-EDC5CCB7-D299-44A1-BC00-3109A435B42A" isForCompensation="true" name="Compensation" startQuantity="1" triggeredByEvent="true" />
<task completionQuantity="1" id="sid-100640F8-3258-4AB7-948B-D92A3A762E50" isForCompensation="false" name="Loop&#10;" startQuantity="1">
<standardLoopCharacteristics id="sid-ca3c6069-b842-4e83-9d9a-82c9331fa018" testBefore="false"/>
</task>
<transaction completionQuantity="1" id="sid-490D92CD-79F1-490C-8587-79F236042572" isForCompensation="false" method="compensate" name="Loop" startQuantity="1" triggeredByEvent="false">
<standardLoopCharacteristics id="sid-0c6d2214-4110-46b4-9707-9cbee9f51a6b" testBefore="false"/>
</transaction>
<subProcess completionQuantity="1" id="sid-7E4E4A1B-4669-4F50-A025-AF3733450DC7" isForCompensation="false" name="Loop" startQuantity="1" triggeredByEvent="true">
<standardLoopCharacteristics id="sid-0e898175-da93-4940-a20b-48c70e660218" testBefore="false"/>
</subProcess>
<callActivity completionQuantity="1" id="sid-19A1ED5D-4AE0-4DAB-AC25-7CAA01D1B414" isForCompensation="false" name="parallel" startQuantity="1">
<multiInstanceLoopCharacteristics behavior="All" id="sid-974e58c8-b219-4ce9-b66b-c05b8133131f" isSequential="false"/>
</callActivity>
<callActivity completionQuantity="1" id="sid-9C1ABFB4-9B97-4570-8D19-E284DD5DF8F0" isForCompensation="false" name="sequential" startQuantity="1">
<multiInstanceLoopCharacteristics behavior="All" id="sid-b80716e0-247b-4dd8-9a4e-bc560e189369" isSequential="true"/>
</callActivity>
<callActivity completionQuantity="1" id="sid-59B2B4A2-3931-4DA7-94B2-75A7820B25DC" isForCompensation="true" name="Compensation" startQuantity="1">
</callActivity>
<callActivity completionQuantity="1" id="sid-6CAA9A2E-6C52-4BCD-AEC8-EDF082811484" isForCompensation="false" name="Loop" startQuantity="1">
<standardLoopCharacteristics id="sid-23f76c35-2864-487e-b85a-a17a478e527a" testBefore="false"/>
</callActivity>
<subProcess completionQuantity="1" id="sid-8DF56C07-84E5-47D4-87CC-BDD4FDF49F40" isForCompensation="true" startQuantity="1" triggeredByEvent="false" />
<subProcess completionQuantity="1" id="sid-17B6D366-35B3-42A3-BCA4-F99FD2378DFD" isForCompensation="false" startQuantity="1" triggeredByEvent="false">
<standardLoopCharacteristics id="sid-5cf2c5d8-3fea-4adf-98e0-0e5079b9f224" testBefore="false"/>
</subProcess>
<adHocSubProcess completionQuantity="1" id="sid-C341A75A-67E0-4050-B61F-EE9E87A5F2B3" isForCompensation="false" name="Adhoc" startQuantity="1" />
<adHocSubProcess completionQuantity="1" id="sid-089831BF-3189-425A-9573-9A6CA7A1CE27" isForCompensation="false" method="compensate" name="Adhoc" startQuantity="1" triggeredByEvent="false" />
<adHocSubProcess cancelRemainingInstances="true" completionQuantity="1" id="sid-2F24C7DE-9653-414E-81FC-7D59494A854C" isForCompensation="false" name="Adhoc" ordering="Sequential" startQuantity="1" triggeredByEvent="true" />
<adHocSubProcess cancelRemainingInstances="true" completionQuantity="1" id="sid-EF715560-F1B1-48AA-AE2D-6D1429858F7D" isForCompensation="false" ordering="Sequential" startQuantity="1" triggeredByEvent="false" />
</process>
<bpmndi:BPMNDiagram id="sid-6281ba79-ec22-4f2b-af03-1235f5f9774f">
<bpmndi:BPMNPlane bpmnElement="sid-15cc2485-b523-4454-ab26-6c27fc23ffb3" id="sid-a2d69581-ee88-4055-9990-44389aac08a6">
<bpmndi:BPMNShape bpmnElement="sid-AD308F5E-8D3B-41A5-ACD1-123F98BD3EF7" id="sid-AD308F5E-8D3B-41A5-ACD1-123F98BD3EF7_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="390.0" y="120.0"/>
<bpmndi:BPMNLabel labelStyle="sid-0cc201a5-5e7f-4686-bb28-122d790f68cf">
<omgdc:Bounds height="24.0" width="86.57142639160156" x="396.7142868041992" y="146.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-63E4F5FA-DBBE-4173-9F58-DF9A55064C2D" id="sid-63E4F5FA-DBBE-4173-9F58-DF9A55064C2D_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="585.0" y="120.0"/>
<bpmndi:BPMNLabel labelStyle="sid-0cc201a5-5e7f-4686-bb28-122d790f68cf">
<omgdc:Bounds height="24.0" width="86.57142639160156" x="591.7142868041992" y="146.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-F85AA892-DEB3-4B68-98C0-890EFCE62A68" id="sid-F85AA892-DEB3-4B68-98C0-890EFCE62A68_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="780.0" y="120.0"/>
<bpmndi:BPMNLabel labelStyle="sid-0cc201a5-5e7f-4686-bb28-122d790f68cf">
<omgdc:Bounds height="24.0" width="86.57142639160156" x="786.7142868041992" y="146.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-1FE60272-406F-42E6-B0E1-35D4088F37BE" id="sid-1FE60272-406F-42E6-B0E1-35D4088F37BE_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="975.0" y="120.0"/>
<bpmndi:BPMNLabel labelStyle="sid-0cc201a5-5e7f-4686-bb28-122d790f68cf">
<omgdc:Bounds height="24.0" width="86.57142639160156" x="981.7142868041992" y="146.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-F82F2B0D-2E7D-4A28-BBF7-E060EF72A5F0" id="sid-F82F2B0D-2E7D-4A28-BBF7-E060EF72A5F0_gui">
<omgdc:Bounds height="80.0" width="100.0" x="390.0" y="285.0"/>
<bpmndi:BPMNLabel labelStyle="sid-0cc201a5-5e7f-4686-bb28-122d790f68cf">
<omgdc:Bounds height="12.0" width="41.142852783203125" x="419.42857360839844" y="317.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-D4AE3F6A-4ECE-4CEC-AACD-D7EE0AE67B35" id="sid-D4AE3F6A-4ECE-4CEC-AACD-D7EE0AE67B35_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="975.0" y="285.0"/>
<bpmndi:BPMNLabel labelStyle="sid-0cc201a5-5e7f-4686-bb28-122d790f68cf">
<omgdc:Bounds height="12.0" width="41.142852783203125" x="1004.4285736083984" y="317.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-15EF6D61-CB3E-452F-8F20-BDB4F2299D29" id="sid-15EF6D61-CB3E-452F-8F20-BDB4F2299D29_gui" isExpanded="true">
<omgdc:Bounds height="100.0" width="120.0" x="1193.0" y="285.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-B29FF0A9-9925-4671-8DE2-8F600C16F389" id="sid-B29FF0A9-9925-4671-8DE2-8F600C16F389_gui">
<omgdc:Bounds height="80.0" width="100.0" x="390.0" y="450.0"/>
<bpmndi:BPMNLabel labelStyle="sid-0cc201a5-5e7f-4686-bb28-122d790f68cf">
<omgdc:Bounds height="12.0" width="60.857147216796875" x="409.57142639160156" y="482.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-15AD7063-1830-4914-B921-DD9484A24658" id="sid-15AD7063-1830-4914-B921-DD9484A24658_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="975.0" y="450.0"/>
<bpmndi:BPMNLabel labelStyle="sid-0cc201a5-5e7f-4686-bb28-122d790f68cf">
<omgdc:Bounds height="12.0" width="60.857147216796875" x="994.5714263916016" y="482.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-0C2B7A1D-CAAA-48CE-95B6-D8F02BB3EBCA" id="sid-0C2B7A1D-CAAA-48CE-95B6-D8F02BB3EBCA_gui" isExpanded="true">
<omgdc:Bounds height="100.0" width="120.0" x="1193.0" y="450.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-F142BAED-B37D-42F7-884C-FD8F8CBDAA25" id="sid-F142BAED-B37D-42F7-884C-FD8F8CBDAA25_gui">
<omgdc:Bounds height="80.0" width="100.0" x="390.0" y="615.0"/>
<bpmndi:BPMNLabel labelStyle="sid-0cc201a5-5e7f-4686-bb28-122d790f68cf">
<omgdc:Bounds height="12.0" width="86.57142639160156" x="396.7142868041992" y="647.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-B7FD84D9-52BF-4289-BEB3-AB3BED815D78" id="sid-B7FD84D9-52BF-4289-BEB3-AB3BED815D78_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="780.0" y="615.0"/>
<bpmndi:BPMNLabel labelStyle="sid-0cc201a5-5e7f-4686-bb28-122d790f68cf">
<omgdc:Bounds height="12.0" width="86.57142639160156" x="786.7142868041992" y="647.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-EDC5CCB7-D299-44A1-BC00-3109A435B42A" id="sid-EDC5CCB7-D299-44A1-BC00-3109A435B42A_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="975.0" y="615.0"/>
<bpmndi:BPMNLabel labelStyle="sid-0cc201a5-5e7f-4686-bb28-122d790f68cf">
<omgdc:Bounds height="12.0" width="86.57142639160156" x="981.7142868041992" y="647.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-100640F8-3258-4AB7-948B-D92A3A762E50" id="sid-100640F8-3258-4AB7-948B-D92A3A762E50_gui">
<omgdc:Bounds height="80.0" width="100.0" x="390.0" y="780.0"/>
<bpmndi:BPMNLabel labelStyle="sid-0cc201a5-5e7f-4686-bb28-122d790f68cf">
<omgdc:Bounds height="12.0" width="30.0" x="425.0" y="812.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-490D92CD-79F1-490C-8587-79F236042572" id="sid-490D92CD-79F1-490C-8587-79F236042572_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="780.0" y="780.0"/>
<bpmndi:BPMNLabel labelStyle="sid-0cc201a5-5e7f-4686-bb28-122d790f68cf">
<omgdc:Bounds height="12.0" width="30.0" x="815.0" y="812.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-7E4E4A1B-4669-4F50-A025-AF3733450DC7" id="sid-7E4E4A1B-4669-4F50-A025-AF3733450DC7_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="975.0" y="780.0"/>
<bpmndi:BPMNLabel labelStyle="sid-0cc201a5-5e7f-4686-bb28-122d790f68cf">
<omgdc:Bounds height="12.0" width="30.0" x="1010.0" y="812.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-19A1ED5D-4AE0-4DAB-AC25-7CAA01D1B414" id="sid-19A1ED5D-4AE0-4DAB-AC25-7CAA01D1B414_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="585.0" y="285.0"/>
<bpmndi:BPMNLabel labelStyle="sid-0cc201a5-5e7f-4686-bb28-122d790f68cf">
<omgdc:Bounds height="12.0" width="41.142852783203125" x="614.4285736083984" y="317.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-9C1ABFB4-9B97-4570-8D19-E284DD5DF8F0" id="sid-9C1ABFB4-9B97-4570-8D19-E284DD5DF8F0_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="585.0" y="450.0"/>
<bpmndi:BPMNLabel labelStyle="sid-0cc201a5-5e7f-4686-bb28-122d790f68cf">
<omgdc:Bounds height="12.0" width="60.857147216796875" x="604.5714263916016" y="482.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-59B2B4A2-3931-4DA7-94B2-75A7820B25DC" id="sid-59B2B4A2-3931-4DA7-94B2-75A7820B25DC_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="585.0" y="615.0"/>
<bpmndi:BPMNLabel labelStyle="sid-0cc201a5-5e7f-4686-bb28-122d790f68cf">
<omgdc:Bounds height="12.0" width="86.57142639160156" x="591.7142868041992" y="647.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-6CAA9A2E-6C52-4BCD-AEC8-EDF082811484" id="sid-6CAA9A2E-6C52-4BCD-AEC8-EDF082811484_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="585.0" y="780.0"/>
<bpmndi:BPMNLabel labelStyle="sid-0cc201a5-5e7f-4686-bb28-122d790f68cf">
<omgdc:Bounds height="12.0" width="30.0" x="620.0" y="812.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-8DF56C07-84E5-47D4-87CC-BDD4FDF49F40" id="sid-8DF56C07-84E5-47D4-87CC-BDD4FDF49F40_gui" isExpanded="true">
<omgdc:Bounds height="100.0" width="120.0" x="1193.0" y="617.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-17B6D366-35B3-42A3-BCA4-F99FD2378DFD" id="sid-17B6D366-35B3-42A3-BCA4-F99FD2378DFD_gui" isExpanded="true">
<omgdc:Bounds height="100.0" width="120.0" x="1193.0" y="784.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-C341A75A-67E0-4050-B61F-EE9E87A5F2B3" id="sid-C341A75A-67E0-4050-B61F-EE9E87A5F2B3_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="585.0" y="945.0"/>
<bpmndi:BPMNLabel labelStyle="sid-0cc201a5-5e7f-4686-bb28-122d790f68cf">
<omgdc:Bounds height="12.0" width="37.71428680419922" x="616.1428565979004" y="977.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-089831BF-3189-425A-9573-9A6CA7A1CE27" id="sid-089831BF-3189-425A-9573-9A6CA7A1CE27_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="780.0" y="945.0"/>
<bpmndi:BPMNLabel labelStyle="sid-0cc201a5-5e7f-4686-bb28-122d790f68cf">
<omgdc:Bounds height="12.0" width="37.71428680419922" x="811.1428565979004" y="977.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-2F24C7DE-9653-414E-81FC-7D59494A854C" id="sid-2F24C7DE-9653-414E-81FC-7D59494A854C_gui" isExpanded="false">
<omgdc:Bounds height="80.0" width="100.0" x="975.0" y="945.0"/>
<bpmndi:BPMNLabel labelStyle="sid-0cc201a5-5e7f-4686-bb28-122d790f68cf">
<omgdc:Bounds height="12.0" width="37.71428680419922" x="1006.1428565979004" y="977.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="sid-EF715560-F1B1-48AA-AE2D-6D1429858F7D" id="sid-EF715560-F1B1-48AA-AE2D-6D1429858F7D_gui" isExpanded="true">
<omgdc:Bounds height="100.0" width="120.0" x="1193.0" y="951.0"/>
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
<bpmndi:BPMNLabelStyle id="sid-0cc201a5-5e7f-4686-bb28-122d790f68cf">
<omgdc:Font isBold="false" isItalic="false" isStrikeThrough="false" isUnderline="false" name="Arial" size="12.0"/>
</bpmndi:BPMNLabelStyle>
</bpmndi:BPMNDiagram>
</definitions>

View File

@ -28,6 +28,27 @@ describe('draw/BpmnRenderer', function() {
}); });
}); });
it('should render activity-marker', function(done) {
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/activity-marker-combination.bpmn', 'utf8');
var renderer = new Viewer(container);
renderer.importXML(xml, function(err) {
done(err);
});
});
it('should render activity-marker', function(done) {
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/activity-marker.bpmn', 'utf8');
var renderer = new Viewer(container);
renderer.importXML(xml, function(err) {
done(err);
});
});
it('should render data objects', function(done) { it('should render data objects', function(done) {