impr(draw/BpmnRenderer): minor tweaks to non-interrupting boundary

This commit is contained in:
Nico Rehwaldt 2014-04-30 14:41:59 +02:00
parent e8b70ebc83
commit 997245ecbc
1 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ require('diagram-js/lib/core/EventBus');
require('diagram-js/lib/draw/Styles'); require('diagram-js/lib/draw/Styles');
require('../core/BpmnRegistry'); require('../core/BpmnRegistry');
require('./PathMap') require('./PathMap');
var DefaultRenderer = require('diagram-js/lib/draw/Renderer'); var DefaultRenderer = require('diagram-js/lib/draw/Renderer');
@ -560,14 +560,14 @@ function BpmnRenderer(events, styles, bpmnRegistry, pathMap) {
return outer; return outer;
}, },
'bpmn:IntermediateInterruptedEvent': function(p, data) { 'bpmn:IntermediateNonInterruptingEvent': function(p, data) {
var outer = renderer('bpmn:Event')(p, data); var outer = renderer('bpmn:Event')(p, data);
var inner = drawCircle(p, data.width, data.height, INNER_OUTER_DIST); var inner = drawCircle(p, data.width, data.height, INNER_OUTER_DIST);
outer.attr('stroke-width', 1); outer.attr('stroke-width', 1);
outer.attr('stroke-dasharray', '12'); outer.attr('stroke-dasharray', '4');
inner.attr('stroke-width', 1); inner.attr('stroke-width', 1);
inner.attr('stroke-dasharray', '12'); inner.attr('stroke-dasharray', '5');
renderEventContent(data, p); renderEventContent(data, p);
@ -902,7 +902,7 @@ function BpmnRenderer(events, styles, bpmnRegistry, pathMap) {
return dataStore; return dataStore;
}, },
'bpmn:BoundaryEvent': function(p, data) { 'bpmn:BoundaryEvent': function(p, data) {
return renderer('bpmn:IntermediateInterruptedEvent')(p, data); return renderer('bpmn:IntermediateNonInterruptingEvent')(p, data);
}, },
'bpmn:Group': function(p, data) { 'bpmn:Group': function(p, data) {
var group = drawRect(p, data.width, data.height, TASK_BORDER_RADIUS); var group = drawRect(p, data.width, data.height, TASK_BORDER_RADIUS);