Class ConnectionDirection
Specifies the directions of the first segment have to be defined in a layout.
Inheritance
System.Object
ConnectionDirection
Namespace: Syncfusion.Blazor.Diagrams
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class ConnectionDirection : Enum
Examples
<SfDiagram Height = "600px" Layout="@LayoutValue">
</SfDiagram>
@code {
DiagramLayout LayoutValue;
protected override void OnInitialized()
{
LayoutValue = new DiagramLayout()
{
ConnectionDirection = ConnectionDirection.Auto,
};
}
}
Fields
Auto
Sets the first segment direction based on the type of the layout.
Declaration
public const ConnectionDirection Auto
Field Value
Type | Description |
---|---|
ConnectionDirection |
Custom
Sets the first segment direction dynamically by the user
Declaration
public const ConnectionDirection Custom
Field Value
Type | Description |
---|---|
ConnectionDirection |
Orientation
Sets the first segment direction based on the orientation of the layout
Declaration
public const ConnectionDirection Orientation
Field Value
Type | Description |
---|---|
ConnectionDirection |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |