Class BpmnFlows
BpmnFlows are used as connection(links) between Bpmn Flow objects.
Inheritance
System.Object
BpmnFlows
Namespace: Syncfusion.Blazor.Diagrams
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class BpmnFlows : Enum
Remarks
The following links might be useful in understanding BpmnFlows, |
1. BpmnAssociationFlows |
2. BpmnMessageFlows |
3. BpmnSequenceFlows |
The following code snippet demonstrates how to set BpmnFlow types. |
Examples
<SfDiagram Height="600px" Connectors="@ConnectorCollection">
</SfDiagram>
@code{
//Create connector and stored it to the connector collection
ObservableCollection<DiagramConnector> ConnectorCollection = new ObservableCollection<DiagramConnector>()
{
new DiagramConnector()
{
SourcePoint=new ConnectorSourcePoint(){X=100,Y=200},
TargetPoint=new ConnectorTargetPoint(){X=300,Y=200},
//Sets type to Bpmn, flow to Sequence, and sequence to Conditional
Shape=new DiagramConnectorShape()
{
Type=ConnectionShapes.Bpmn,
BpmnFlow=BpmnFlows.Sequence,
Sequence=BpmnSequenceFlows.Conditional
}
}
};
}
Fields
Association
Sets the BpmnFlow to Association and it is used to link flow objects. It is denoted by a dotted line representation.
Declaration
public const BpmnFlows Association
Field Value
Type | Description |
---|---|
BpmnFlows |
Message
Sets the BpmnFlow to Message and it shows the flow of messages between two participants, represented by a dashed line.
Declaration
public const BpmnFlows Message
Field Value
Type | Description |
---|---|
BpmnFlows |
Sequence
Sets the BpmnFlow to Sequence and shows the order of activities performed in a BPMN activity.
Declaration
public const BpmnFlows Sequence
Field Value
Type | Description |
---|---|
BpmnFlows |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |