chore(draw): use lines insted of curves to render escalation events

Closes #592
This commit is contained in:
pedesen 2016-07-18 11:13:35 +02:00
parent b881ca8086
commit 28f7145b32
2 changed files with 4 additions and 5 deletions

View File

@ -432,7 +432,7 @@ function BpmnRenderer(eventBus, styles, pathMap, priority) {
containerHeight: event.height,
position: {
mx: 0.5,
my: 0.555
my: 0.2
}
});

View File

@ -55,12 +55,11 @@ function PathMap() {
widthElements: [10, 20]
},
'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} ' +
'{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',
d: 'M {mx},{my} l {e.x0},{e.y0} l -{e.x0},-{e.y1} l -{e.x0},{e.y1} Z',
height: 36,
width: 36,
heightElements: [2.382, 4.764, 4.926, 6.589333, 7.146, 13.178667, 19.768],
widthElements: [2.463, 2.808, 4.926, 5.616, 7.389, 8.424]
heightElements: [20, 7],
widthElements: [8]
},
'EVENT_CONDITIONAL': {
d: 'M {e.x0},{e.y0} l {e.x1},0 l 0,{e.y2} l -{e.x1},0 Z ' +