From 70778082b5b05ad8f7133ff50b78ad87ce14a38b Mon Sep 17 00:00:00 2001 From: jdotzki Date: Tue, 6 May 2014 17:22:26 +0200 Subject: [PATCH] impr(bpmnrenderer): data association rendering --- lib/draw/BpmnRenderer.js | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/lib/draw/BpmnRenderer.js b/lib/draw/BpmnRenderer.js index 841af218..e6977493 100644 --- a/lib/draw/BpmnRenderer.js +++ b/lib/draw/BpmnRenderer.js @@ -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') }); },