DiagramSettings.SettingsAutoLayout Property
Specifies an auto-layout algorithm that the Diagram extension uses to build a diagram.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Property Value
Type | Description |
---|---|
DiagramAutoLayoutSettings | An object that contains the auto-layout settings. |
Remarks
@Html.DevExpress().Diagram(settings => {
settings.Name = "Diagram";
settings.SettingsAutoLayout.Type = DevExpress.Web.ASPxDiagram.DiagramAutoLayout.Layered;
settings.SettingsAutoLayout.Orientation = Orientation.Vertical;
...
}).Bind(Model.Objects, Model.Connections).GetHtml()
See Also