menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BpmnFlow - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class BpmnFlow

    Represents a Business Process Model and Notation (BPMN) flow element that connects different components in a diagram.

    Inheritance
    System.Object
    DiagramObject
    ConnectorShape
    BpmnFlow
    Implements
    IDiagramObject
    System.ICloneable
    Inherited Members
    DiagramObject.GetParent()
    DiagramObject.OnPropertyChanged(String, Object, Object, IDiagramObject)
    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()

    Creates a new BpmnFlow that is a copy of the BpmnFlow BpmnFlow.

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object

    A new BpmnFlow instance that is a clone of this instance.

    Overrides
    ConnectorShape.Clone()

    Implements

    IDiagramObject
    System.ICloneable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved