Defines the behavior of the UMLActivity shape
Defines the text of the bpmn annotation collection
Defaults to ‘None’
string
Defines the type of classifier
Defaults to ‘Class’
Defines the text of the bpmn annotation collection
Defaults to ‘None’
Defines the text of the bpmn annotation collection
Defaults to ‘None’
string
Defines the type of node shape
<div id='diagram'></div>
let shape: UmlActivityShapeModel = { type: 'UMLActivity', shape: 'Action' };
let nodes: NodeModel[] = [{
id: 'node', width: 100, height: 100, offsetX: 100, offsetY: 100, shape: shape
}];
let diagram: Diagram = new Diagram({
...
nodes : nodes,
...
});
diagram.appendTo('#diagram');
Defaults to ‘Basic’