Defines the behavior of the bpmn data object
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
string
Defines the type of the BPMN data object
Defaults to ‘None’