Class BranchDirection
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 |