feat(import/BpmnTreeWalker): make businessObject#di prop configurable
This allows advanced use-cases such as lazy importing elements into the diagram.
This commit is contained in:
parent
014aabaaf5
commit
67b9711399
|
@ -10,8 +10,10 @@ import {
|
|||
elementToString
|
||||
} from './Util';
|
||||
|
||||
// TODO: should be configurable: true as well which would allow to remove binding
|
||||
var diRefs = new Refs({ name: 'bpmnElement', enumerable: true }, { name: 'di' });
|
||||
var diRefs = new Refs(
|
||||
{ name: 'bpmnElement', enumerable: true },
|
||||
{ name: 'di', configurable: true }
|
||||
);
|
||||
|
||||
/**
|
||||
* Returns true if an element has the given meta-model type
|
||||
|
|
Loading…
Reference in New Issue