Enum LayoutOrientation
Specifies the orientation of the automatic layout.
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public enum LayoutOrientation
Remarks
Only the TopToBottom and LeftToRight orientations are applicable when the Type property is set to Flowchart.
Examples
<SfDiagramComponent >
<DataSourceSettings ID = "Name" ParentID="Category" DataSource="DataSource"> </DataSourceSettings>
<Layou @bind-Orientation="@orientation" >
</Layout>
</SfDiagramComponent>
@code
{
LayoutOrientation orientation = LayoutOrientation.TopToBottom;
Fields
| Name | Description |
|---|---|
| BottomToTop | Renders the layout from bottom to top. |
| Horizontal | Renders only the MindMap from left to right |
| LeftToRight | Renders the layout from left to right. |
| RightToLeft | Renders the layout from right to left. |
| TopToBottom | Renders the layout from top to bottom. |
| Vertical | Renders only the MindMap from top to bottom |