parent
a9d8ea7a20
commit
f7a4a21d91
|
@ -1426,23 +1426,30 @@ function BpmnRenderer(eventBus, styles, pathMap, priority) {
|
|||
renderer(marker)(p, element, position);
|
||||
});
|
||||
|
||||
if (obj.isForCompensation) {
|
||||
renderer('CompensationMarker')(p, element, position);
|
||||
}
|
||||
|
||||
if (obj.$type === 'bpmn:AdHocSubProcess') {
|
||||
renderer('AdhocMarker')(p, element, position);
|
||||
}
|
||||
if (obj.loopCharacteristics && obj.loopCharacteristics.isSequential === undefined) {
|
||||
renderer('LoopMarker')(p, element, position);
|
||||
return;
|
||||
}
|
||||
if (obj.loopCharacteristics &&
|
||||
obj.loopCharacteristics.isSequential !== undefined &&
|
||||
!obj.loopCharacteristics.isSequential) {
|
||||
renderer('ParallelMarker')(p, element, position);
|
||||
}
|
||||
if (obj.loopCharacteristics && !!obj.loopCharacteristics.isSequential) {
|
||||
renderer('SequentialMarker')(p, element, position);
|
||||
}
|
||||
if (!!obj.isForCompensation) {
|
||||
renderer('CompensationMarker')(p, element, position);
|
||||
|
||||
var loopCharacteristics = obj.loopCharacteristics,
|
||||
isSequential = loopCharacteristics && loopCharacteristics.isSequential;
|
||||
|
||||
if (loopCharacteristics) {
|
||||
|
||||
if (isSequential === undefined) {
|
||||
renderer('LoopMarker')(p, element, position);
|
||||
}
|
||||
|
||||
if (isSequential === false) {
|
||||
renderer('ParallelMarker')(p, element, position);
|
||||
}
|
||||
|
||||
if (isSequential === true) {
|
||||
renderer('SequentialMarker')(p, element, position);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue