Interface for a class UmlClassifierShape
Defines the text of the bpmn annotation collection
Defines the type of classifier
Defines the text of the bpmn annotation collection
Defines the text of the bpmn annotation collection
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');