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) {
|
||||
|
||||
var loopCharacteristics = obj.loopCharacteristics,
|
||||
isSequential = loopCharacteristics && loopCharacteristics.isSequential;
|
||||
|
||||
if (loopCharacteristics) {
|
||||
|
||||
if (isSequential === undefined) {
|
||||
renderer('LoopMarker')(p, element, position);
|
||||
return;
|
||||
}
|
||||
if (obj.loopCharacteristics &&
|
||||
obj.loopCharacteristics.isSequential !== undefined &&
|
||||
!obj.loopCharacteristics.isSequential) {
|
||||
|
||||
if (isSequential === false) {
|
||||
renderer('ParallelMarker')(p, element, position);
|
||||
}
|
||||
if (obj.loopCharacteristics && !!obj.loopCharacteristics.isSequential) {
|
||||
|
||||
if (isSequential === true) {
|
||||
renderer('SequentialMarker')(p, element, position);
|
||||
}
|
||||
if (!!obj.isForCompensation) {
|
||||
renderer('CompensationMarker')(p, element, position);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue