Connector shape for blazor
string
Sets the type of the Bpmn association flows
string
Defines the association direction
Defaults to ‘Directional’
string
Sets the type of the Bpmn flows
Defaults to ‘Sequence’
number
Defines the height of the exception flow.
Defaults to ‘50’
string
<div id='diagram'></div>
let nodes: NodeModel[] = [
{
id: 'node1', width: 60, height: 60, offsetX: 75, offsetY: 90,
shape: { type: 'Bpmn', shape: 'Event', event: { event: 'Start', trigger: 'Message' } },
},
{
id: 'node2', width: 75, height: 70, offsetX: 210, offsetY: 90,
shape: { type: 'Bpmn', shape: 'Gateway', gateway: { type: 'None' } },
}];
let connectors: ConnectorModel[] = [{
id: 'connector', type: 'Straight', sourceID: 'node1', targetID: 'node2',
shape: { type: 'Bpmn', flow: 'Message', message: 'InitiatingMessage' } as BpmnFlowModel
},];
let diagram: Diagram = new Diagram({
...
nodes: nodes, connectors: connectors
...
});
diagram.appendTo('#diagram');
Defines the type of the Classifier Multiplicity
Defaults to ”
string
Defines the association direction
Defaults to ‘Aggregation’
string
Sets the type of the Bpmn Sequence flows
Defaults to ‘Normal’
string
Defines the application specific type of connector
Defaults to ‘None’
string
Defines the type of the UMLActivity flows Object - Sets the type of the UMLActivity Flow as Object Control - Sets the type of the UMLActivity Flow as Control Exception - Sets the type of the UMLActivity Flow as Exception
Defaults to ‘Object’