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
Assembly: MindFusion.Diagramming.Layout
C# Copy Code |
---|
public bool Squarify { get; set; } |
Visual Basic Copy Code |
---|
Public Property Squarify As Boolean |
true to keep the ratio of node sides as close as possible to one, or false otherwise. The default value is true.
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.