mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-02-18 20:06:54 +00:00
parent
a9d8ea7a20
commit
f7a4a21d91
@ -1426,23 +1426,30 @@ function BpmnRenderer(eventBus, styles, pathMap, priority) {
|
|||||||
renderer(marker)(p, element, position);
|
renderer(marker)(p, element, position);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (obj.isForCompensation) {
|
||||||
|
renderer('CompensationMarker')(p, element, position);
|
||||||
|
}
|
||||||
|
|
||||||
if (obj.$type === 'bpmn:AdHocSubProcess') {
|
if (obj.$type === 'bpmn:AdHocSubProcess') {
|
||||||
renderer('AdhocMarker')(p, element, position);
|
renderer('AdhocMarker')(p, element, position);
|
||||||
}
|
}
|
||||||
if (obj.loopCharacteristics && obj.loopCharacteristics.isSequential === undefined) {
|
|
||||||
|
var loopCharacteristics = obj.loopCharacteristics,
|
||||||
|
isSequential = loopCharacteristics && loopCharacteristics.isSequential;
|
||||||
|
|
||||||
|
if (loopCharacteristics) {
|
||||||
|
|
||||||
|
if (isSequential === undefined) {
|
||||||
renderer('LoopMarker')(p, element, position);
|
renderer('LoopMarker')(p, element, position);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
if (obj.loopCharacteristics &&
|
|
||||||
obj.loopCharacteristics.isSequential !== undefined &&
|
if (isSequential === false) {
|
||||||
!obj.loopCharacteristics.isSequential) {
|
|
||||||
renderer('ParallelMarker')(p, element, position);
|
renderer('ParallelMarker')(p, element, position);
|
||||||
}
|
}
|
||||||
if (obj.loopCharacteristics && !!obj.loopCharacteristics.isSequential) {
|
|
||||||
|
if (isSequential === true) {
|
||||||
renderer('SequentialMarker')(p, element, position);
|
renderer('SequentialMarker')(p, element, position);
|
||||||
}
|
}
|
||||||
if (!!obj.isForCompensation) {
|
|
||||||
renderer('CompensationMarker')(p, element, position);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user