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

DiagramControl.ApplyMindMapTreeLayout(MindMapTreeLayoutSettings, SplitToConnectedComponentsMode, IEnumerable<DiagramItem>) Method

Applies the mind-map tree layout algorithm.

Namespace: DevExpress.Xpf.Diagram

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Diagram, DevExpress.Wpf.Diagram

Declaration

public void ApplyMindMapTreeLayout(
    MindMapTreeLayoutSettings settings,
    SplitToConnectedComponentsMode splitMode,
    IEnumerable<DiagramItem> items = null
)

Parameters

Name Type Description
settings DevExpress.Diagram.Core.Layout.MindMapTreeLayoutSettings

A DevExpress.Diagram.Core.Layout.MindMapTreeLayoutSettings object.

splitMode SplitToConnectedComponentsMode

A SplitToConnectedComponentsMode enumeration value that specifies which diagram items are realigned.

Optional Parameters

Name Type Default Description
items IEnumerable<DiagramItem> *null*

A collection of items to which to apply the algorithm.

Remarks

The items collection should include connectors.

See Also