Enum BranchDirection
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public enum BranchDirection
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
| Name | Description |
|---|---|
| LeftInFlow | Sets the branch direction to the left relative to the flow. |
| RightInFlow | Sets the branch direction to the right relative to the flow. |
| SameAsFlow | Aligns the branch direction with the flow of the chart. |