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.2.dll
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