Class BpmnFlow
Represents a Business Process Model and Notation (BPMN) flow element that connects different components in a diagram.
Inherited Members
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public class BpmnFlow : ConnectorShape, IDiagramObject, ICloneable
Remarks
The BpmnFlow class is a specialized connector shape used for defining BPMN-specific flow types in a diagram. It supports various flow types as specified by the BpmnFlowType enumeration.
Examples
Connector connector = new Connector()
{
ID = "connector1",
SourcePoint = new DiagramPoint() { X = 100, Y = 100 },
TargetPoint = new DiagramPoint() { X = 300, Y = 200 },
Type = ConnectorSegmentType.Straight,
Shape = new BpmnFlow()
{
Type = ConnectorShapes.Bpmn,
Flow = BpmnFlowType.SequenceFlow,
}
}
Constructors
BpmnFlow()
Initializes a new instance of the BpmnFlow.
Declaration
public BpmnFlow()
BpmnFlow(BpmnFlow)
Creates a new instance of the BpmnFlow class.
Declaration
public BpmnFlow(BpmnFlow src)
Parameters
Type | Name | Description |
---|---|---|
BpmnFlow | src | The BpmnFlow to copy from. |
Properties
Flow
Gets or sets the type of BPMN flows represented in the diagram.
Declaration
public BpmnFlowType Flow { get; set; }
Property Value
Type | Description |
---|---|
BpmnFlowType | A BpmnFlowType enumeration value that specifies the type of flow in the process. The default value is SequenceFlow. |
Examples
Connector connector = new Connector()
{
ID = "connector1",
SourcePoint = new DiagramPoint() { X = 100, Y = 100 },
TargetPoint = new DiagramPoint() { X = 300, Y = 200 },
Type = ConnectorSegmentType.Straight,
Shape = new BpmnFlow()
{
Type = ConnectorShapes.Bpmn,
Flow = BpmnFlowType.SequenceFlow,
}
}
Methods
Clone()
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object | A new BpmnFlow instance that is a clone of this instance. |
Overrides
Implements
System.ICloneable