Skip to main content
A newer version of this page is available. .

ASPxDiagram.SettingsAutoLayout Property

Specifies an auto-layout algorithm that the control uses to build a diagram.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v19.2.dll

Declaration

public DiagramAutoLayoutSettings SettingsAutoLayout { get; }

Property Value

Type Description
DiagramAutoLayoutSettings

An object that contains the auto-layout settings.

Remarks

<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