Search results

UmlClassifierShapeModel

Interface for a class UmlClassifierShape

Properties

classShape

UmlClassModel

Defines the text of the bpmn annotation collection

classifier

string

Defines the type of classifier

enumerationShape

UmlEnumerationModel

Defines the text of the bpmn annotation collection

interfaceShape

UmlInterfaceModel

Defines the text of the bpmn annotation collection

type

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