Gets or sets a value indicating whether to enable allocation of nodes to distinct clusters.
Namespace: MindFusion.Diagramming.Layout
Assembly: MindFusion.Diagramming
SyntaxC#
Copy Code
|
|---|
public bool EnableClusters { get; set; } |
Visual Basic
Copy Code
|
|---|
Public Property EnableClusters As Boolean |
true to detect and process node clusters; otherwise, false. The default is false.
Remarks
If enabled, the SpringLayout algorithm detects node clusters and places them at distinct positions. Each cluster consists of a center node surrounded by several local nodes. Clusters might be connected with other clusters by their center nodes. Best-looking results are achieved when there aren't links between the local nodes in a cluster.
See Also