impr(bpmnrenderer): set correct outline for event sub-processes
This commit is contained in:
parent
10c1dbcf95
commit
eea1264518
|
@ -819,6 +819,13 @@ function BpmnRenderer(events, styles, bpmnRegistry, pathMap) {
|
||||||
'bpmn:SubProcess': function(p, data) {
|
'bpmn:SubProcess': function(p, data) {
|
||||||
var rect = renderer('bpmn:Activity')(p, data);
|
var rect = renderer('bpmn:Activity')(p, data);
|
||||||
|
|
||||||
|
var isEventSubProcess = !!(bpmnRegistry.getSemantic(data.id).triggeredByEvent);
|
||||||
|
if(isEventSubProcess) {
|
||||||
|
rect.attr({
|
||||||
|
'stroke-dasharray': '1,2',
|
||||||
|
'stroke-width': 1
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
var di = bpmnRegistry.getDi(data);
|
var di = bpmnRegistry.getDi(data);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue