DiagramAutoLayoutSettings.Type Property
Specifies the diagram layout type.
Namespace: DevExpress.Web.ASPxDiagram
Assembly: DevExpress.Web.ASPxDiagram.v19.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
DiagramAutoLayout | **Auto** | The layout type. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to Type |
---|---|
ASPxDiagram |
|
DiagramSettings |
|
MVCxDiagram |
|
Remarks
Note
When the Type property is set to Layered or Tree the shape coordinates specified by the Left and Top properties are ignored.
<dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px" Units="Px"
NodeDataSourceID="FlowNodeDemoDataSource" EdgeDataSourceID="FlowEdgeDemoDataSource" >
<SettingsAutoLayout Type="Layered" Orientation="Vertical" />
<Mappings>
<Node Key="ID" Type="Type" Width="Width" Height="Height" />
<Edge Key="ID" FromKey="FromID" ToKey="ToID" Text="Text" />
</Mappings>
</dx:ASPxDiagram>
Online Demo
Diagram - Node and Edge Data Sources
See Also