fix(BpmnRenderer): fix messageflow marker positioning

This commit is contained in:
Nico Rehwaldt 2014-05-27 18:54:24 +02:00
parent ba94724225
commit 14850f753f
1 changed files with 7 additions and 7 deletions

View File

@ -63,17 +63,17 @@ function BpmnRenderer(events, styles, bpmnRegistry, pathMap) {
addMarker('messageflow-start',
paper
.circle(4, 4, 4)
.circle(5, 5, 5)
.attr({
fill: 'white',
stroke: 'black',
strokeWidth: 1,
strokeDasharray: '1,0'
})
.marker(0, 0, 12, 12, 6, 6)
.marker(0, 0, 10, 10, 5, 5)
.attr({
markerWidth: 10,
markerHeight: 10,
markerWidth: 12,
markerHeight: 12,
orient: 'auto',
overflow: 'visible'
}));
@ -88,10 +88,10 @@ function BpmnRenderer(events, styles, bpmnRegistry, pathMap) {
strokeLinecap: 'round',
strokeDasharray: '1,0'
})
.marker(0, 0, 12, 12, 12, 6)
.marker(0, 0, 10, 10, 10, 5)
.attr({
markerWidth: 10,
markerHeight: 10,
markerWidth: 12,
markerHeight: 12,
orient: 'auto',
overflow: 'visible'
}));