Search
TreeMapLayout.Squarify Property
See Also
 





Gets or sets a value indicating whether the layout should attempt to keep the dimension ratio of the nodes closer to 1.

Namespace: MindFusion.Diagramming.Layout
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public bool Squarify { get; set; }

Visual Basic  Copy Code

Public Property Squarify As Boolean

 Property Value

true to keep the ratio of node sides as close as possible to one, or false otherwise. The default value is true.

 Remarks

If set to false, each level of the hierarchy is arranged in rows or columns with same height/width, which might create very narrow rectangles when Weight values differ greatly or nodes have many children. The alternating orientation between levels however helps to distinguish between different levels in the hierarchy. The initial direction of nodes (in topmost level) depends on the value of Orientation.

 See Also