impr(bpmnrenderer): data association rendering

This commit is contained in:
jdotzki 2014-05-06 17:22:26 +02:00
parent d20fedcac6
commit 70778082b5
1 changed files with 9 additions and 5 deletions

View File

@ -118,10 +118,12 @@ function BpmnRenderer(events, styles, bpmnRegistry, pathMap) {
.marker(0, 0, 10, 10, 10, 5)
.attr({
markerUnits: 'strokeWidth',
markerWidth: 10,
markerHeight: 6,
markerWidth: 16,
markerHeight: 9.6,
orient: 'auto',
overflow: 'visible'
overflow: 'visible',
'stroke-width': 1,
'stroke-dasharray': '1,0'
}));
}
@ -835,7 +837,8 @@ function BpmnRenderer(events, styles, bpmnRegistry, pathMap) {
var polyline = drawLine(p, data.waypoints);
return polyline.attr({
'stroke-dasharray': '2,4',
'stroke-dasharray': '1,4',
'stroke-width': '1',
'marker-end': marker('data-association-end')
});
},
@ -843,7 +846,8 @@ function BpmnRenderer(events, styles, bpmnRegistry, pathMap) {
var polyline = drawLine(p, data.waypoints);
return polyline.attr({
'stroke-dasharray': '2,4',
'stroke-dasharray': '1,4',
'stroke-width': '1',
'marker-end': marker('data-association-end')
});
},