impr(draw/BpmnRenderer): minor tweaks to non-interrupting boundary
This commit is contained in:
parent
e8b70ebc83
commit
997245ecbc
|
@ -5,7 +5,7 @@ require('diagram-js/lib/core/EventBus');
|
|||
require('diagram-js/lib/draw/Styles');
|
||||
|
||||
require('../core/BpmnRegistry');
|
||||
require('./PathMap')
|
||||
require('./PathMap');
|
||||
|
||||
|
||||
var DefaultRenderer = require('diagram-js/lib/draw/Renderer');
|
||||
|
@ -560,14 +560,14 @@ function BpmnRenderer(events, styles, bpmnRegistry, pathMap) {
|
|||
|
||||
return outer;
|
||||
},
|
||||
'bpmn:IntermediateInterruptedEvent': function(p, data) {
|
||||
'bpmn:IntermediateNonInterruptingEvent': function(p, data) {
|
||||
var outer = renderer('bpmn:Event')(p, data);
|
||||
var inner = drawCircle(p, data.width, data.height, INNER_OUTER_DIST);
|
||||
|
||||
outer.attr('stroke-width', 1);
|
||||
outer.attr('stroke-dasharray', '12');
|
||||
outer.attr('stroke-dasharray', '4');
|
||||
inner.attr('stroke-width', 1);
|
||||
inner.attr('stroke-dasharray', '12');
|
||||
inner.attr('stroke-dasharray', '5');
|
||||
|
||||
renderEventContent(data, p);
|
||||
|
||||
|
@ -902,7 +902,7 @@ function BpmnRenderer(events, styles, bpmnRegistry, pathMap) {
|
|||
return dataStore;
|
||||
},
|
||||
'bpmn:BoundaryEvent': function(p, data) {
|
||||
return renderer('bpmn:IntermediateInterruptedEvent')(p, data);
|
||||
return renderer('bpmn:IntermediateNonInterruptingEvent')(p, data);
|
||||
},
|
||||
'bpmn:Group': function(p, data) {
|
||||
var group = drawRect(p, data.width, data.height, TASK_BORDER_RADIUS);
|
||||
|
|
Loading…
Reference in New Issue