Back to Devexpress

DiagramControl.ApplySugiyamaLayout(IEnumerable<DiagramItem>) Method

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramcontrol-dot-applysugiyamalayout-x28-system-dot-collections-dot-generic-dot-ienumerable-devexpress-dot-xpf-dot-diagram-dot-diagramitem-x29.md

latest1.6 KB
Original Source

DiagramControl.ApplySugiyamaLayout(IEnumerable<DiagramItem>) Method

Applies the Sugiyama (layered) layout algorithm.

Namespace : DevExpress.Xpf.Diagram

Assembly : DevExpress.Xpf.Diagram.v25.2.dll

NuGet Package : DevExpress.Wpf.Diagram

Declaration

csharp
public void ApplySugiyamaLayout(
    IEnumerable<DiagramItem> items = null
)
vb
Public Sub ApplySugiyamaLayout(
    items As IEnumerable(Of DiagramItem) = Nothing
)

Optional Parameters

NameTypeDefaultDescription
itemsIEnumerable<DiagramItem>null

A collection of items to which to apply the algorithm.

|

Remarks

The items collection should include connectors.

To learn more, see Automatic Layout.

See Also

DiagramControl Class

DiagramControl Members

DevExpress.Xpf.Diagram Namespace