Search
Layout.KeepGroupLayout Property
See Also
 





Gets or sets a value indicating whether to treat each Group of nodes as a single vertex in the arranged graph.

Namespace: MindFusion.Diagramming.Layout
Assembly: MindFusion.Diagramming.Layout

 Syntax

C#  Copy Code

public bool KeepGroupLayout { get; set; }

Visual Basic  Copy Code

Public Property KeepGroupLayout As Boolean

 Property Value

true if each Group should be processed as an integral graph node; otherwise, false. The default is false.

 Remarks

Enabling this property has an effect similar to setting the IgnoreLayout property of group's subordinated nodes to true. The two methods differ in how the size of the graph node corresponding to a group is calculated. If KeepGroupLayout is enabled, the union of all bounding rectangles of grouped items is used to determine the size of the graph node. When the IgnoreLayout property of subordinated items is enabled, the bounding rectangle of the main node defines the size of the graph node corresponding to the group.

 See Also