BpmnDataObject
23 Sep 20251 minute to read
Defines the behavior of the bpmn data object
Properties
collection boolean
Sets whether the data object is a collection or not
<div id='diagram'></div>let nodes: NodeModel[] = [{
id: 'node', width: 100, height: 100, offsetX: 100, offsetY: 100,
shape: {
type: 'Bpmn', shape: 'DataObject',
dataObject: { collection: false, type: 'Input' }
} as BpmnShapeModel,
}];
let diagram: Diagram = new Diagram({
...
nodes : nodes,
...
});
diagram.appendTo('#diagram');Defaults to false
type BpmnDataObjects
Defines the type of the BPMN data object
- None - Sets the type of the data object as None
- Input - Sets the type of the data object as Input
- Output - Sets the type of the data object as Output
Defaults to ‘None’