chore(draw): use lines insted of curves to render escalation events
Closes #592
This commit is contained in:
parent
b881ca8086
commit
28f7145b32
|
@ -432,7 +432,7 @@ function BpmnRenderer(eventBus, styles, pathMap, priority) {
|
||||||
containerHeight: event.height,
|
containerHeight: event.height,
|
||||||
position: {
|
position: {
|
||||||
mx: 0.5,
|
mx: 0.5,
|
||||||
my: 0.555
|
my: 0.2
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -55,12 +55,11 @@ function PathMap() {
|
||||||
widthElements: [10, 20]
|
widthElements: [10, 20]
|
||||||
},
|
},
|
||||||
'EVENT_ESCALATION': {
|
'EVENT_ESCALATION': {
|
||||||
d: 'm {mx},{my} c -{e.x1},{e.y0} -{e.x3},{e.y1} -{e.x5},{e.y4} {e.x1},-{e.y3} {e.x3},-{e.y5} {e.x5},-{e.y6} ' +
|
d: 'M {mx},{my} l {e.x0},{e.y0} l -{e.x0},-{e.y1} l -{e.x0},{e.y1} Z',
|
||||||
'{e.x0},{e.y3} {e.x2},{e.y5} {e.x4},{e.y6} -{e.x0},-{e.y0} -{e.x2},-{e.y1} -{e.x4},-{e.y4} z',
|
|
||||||
height: 36,
|
height: 36,
|
||||||
width: 36,
|
width: 36,
|
||||||
heightElements: [2.382, 4.764, 4.926, 6.589333, 7.146, 13.178667, 19.768],
|
heightElements: [20, 7],
|
||||||
widthElements: [2.463, 2.808, 4.926, 5.616, 7.389, 8.424]
|
widthElements: [8]
|
||||||
},
|
},
|
||||||
'EVENT_CONDITIONAL': {
|
'EVENT_CONDITIONAL': {
|
||||||
d: 'M {e.x0},{e.y0} l {e.x1},0 l 0,{e.y2} l -{e.x1},0 Z ' +
|
d: 'M {e.x0},{e.y0} l {e.x1},0 l 0,{e.y2} l -{e.x1},0 Z ' +
|
||||||
|
|
Loading…
Reference in New Issue