fix(ElementFactory): fix JSDoc

This commit is contained in:
Philipp
2023-04-11 14:29:12 +02:00
committed by Philipp Fromme
parent a1022bfe07
commit 42790fef48
3 changed files with 115 additions and 30 deletions

View File

@ -58,6 +58,32 @@ elementFactory.create('label', {
type: 'bpmn:Task'
});
elementFactory.create('connection', {
type: 'bpmn:Association',
associationDirection: 'One'
});
elementFactory.create('shape', {
type: 'bpmn:BoundaryEvent',
cancelActivity: true,
eventDefinitionType: 'bpmn:ErrorEventDefinition'
});
elementFactory.create('shape', {
type: 'bpmn:Task',
isForCompensation: false
});
elementFactory.create('shape', {
type: 'bpmn:Participant',
processRef: {}
});
elementFactory.create('shape', {
type: 'bpmn:SubProcess',
triggeredByEvent: true
});
elementFactory.createBpmnElement('connection', {
type: 'bpmn:SequenceFlow'
});