menu

Blazor

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

    Show / Hide Table of Contents

    Class BranchDirection

    Defines the different branch directions available for Type when using Flowchart.

    Inheritance
    System.Object
    BranchDirection
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public sealed class BranchDirection : Enum
    Remarks

    The available branch directions are:

    • SameAsFlow: Aligns the branch direction with the flow of the chart.
    • LeftInFlow: Sets the branch direction to the left relative to the flow.
    • RightInFlow: Sets the branch direction to the right relative to the flow.
    Examples

    Example usage:

    <SfDiagramComponent> 
        <Layout Type="LayoutType.Flowchart" FlowchartLayoutSettings="@flowchartLayoutSettings" />
    </SfDiagramComponent>
    @code
    {
        FlowchartLayoutSettings flowchartLayoutSettings = new FlowchartLayoutSettings() 
        { 
            YesBranchDirection = BranchDirection.RightInFlow
        };
    }

    Fields

    LeftInFlow

    Sets the branch direction to the left relative to the flow.

    Declaration
    public const BranchDirection LeftInFlow
    Field Value
    Type
    BranchDirection

    RightInFlow

    Sets the branch direction to the right relative to the flow.

    Declaration
    public const BranchDirection RightInFlow
    Field Value
    Type
    BranchDirection

    SameAsFlow

    Aligns the branch direction with the flow of the chart.

    Declaration
    public const BranchDirection SameAsFlow
    Field Value
    Type
    BranchDirection
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved