Defines the behavior of the bpmn shape
Defines the type of the BPMN Activity shape
Defaults to ‘None’
Defines the text of the bpmn annotation
Defaults to ‘None’
Defines the text of the bpmn annotation collection
Defaults to ‘None’
Defines the type of the BPMN DataObject shape
Defaults to ‘None’
Defines the type of the BPMN Event shape
Defaults to ‘None’
Defines the type of the BPMN Gateway shape
Defaults to ‘None’
string
<div id='diagram'></div>
let nodes: NodeModel[] = [{
id: 'node', width: 100, height: 100, offsetX: 100, offsetY: 100,
shape: {
type: 'Bpmn', shape: 'Gateway',
gateway: { type: 'EventBased' } as BpmnGatewayModel
} as BpmnShapeModel,
}];
let diagram: Diagram = new Diagram({
...
nodes : nodes,
...
});
diagram.appendTo('#diagram');
string
Defines the type of node shape
Defaults to ‘Basic’