feat(import): support importing multiple diagrams at once

closes #1474
This commit is contained in:
Martin Stamm
2021-09-17 09:44:58 +02:00
parent f3d4b4b976
commit 29a6636ac7
6 changed files with 116 additions and 6 deletions

View File

@ -18,6 +18,10 @@ export function isExpanded(element, di) {
if (is(element, 'bpmn:SubProcess')) {
di = di || getDi(element);
if (di && is(di, 'bpmndi:BPMNPlane')) {
return true;
}
return di && !!di.isExpanded;
}