Search results

BpmnDataObjectModel

Interface for a class BpmnDataObject

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');

type

string

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