mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-11 17:44:12 +00:00
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…
x
Reference in New Issue
Block a user