mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-12 10:04:16 +00:00
chore(modeling): add non-interrupting start events to ElementFactory
This commit is contained in:
parent
3cb1721c89
commit
e1876fa3e8
@ -73,6 +73,10 @@ ElementFactory.prototype.create = function(elementType, attrs) {
|
|||||||
businessObject.di.isMarkerVisible = true;
|
businessObject.di.isMarkerVisible = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (attrs.isInterrupting === false) {
|
||||||
|
businessObject.isInterrupting = false;
|
||||||
|
}
|
||||||
|
|
||||||
if (attrs._eventDefinitionType) {
|
if (attrs._eventDefinitionType) {
|
||||||
var eventDefinitions = businessObject.get('eventDefinitions') || [],
|
var eventDefinitions = businessObject.get('eventDefinitions') || [],
|
||||||
newEventDefinition = this._moddle.create(attrs._eventDefinitionType);
|
newEventDefinition = this._moddle.create(attrs._eventDefinitionType);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user