Back to Devexpress

TreeMapSquarifiedLayoutAlgorithm Class

windowsforms-devexpress-dot-xtratreemap-5618b6a4.md

latest2.1 KB
Original Source

TreeMapSquarifiedLayoutAlgorithm Class

A class representing the Squarified layout algorithm.

Namespace : DevExpress.XtraTreeMap

Assembly : DevExpress.XtraTreeMap.v25.2.dll

NuGet Package : DevExpress.TreeMap

Declaration

csharp
public class TreeMapSquarifiedLayoutAlgorithm :
    TreeMapLayoutAlgorithmBase
vb
Public Class TreeMapSquarifiedLayoutAlgorithm
    Inherits TreeMapLayoutAlgorithmBase

Remarks

The idea of the algorithm is to layout the rectangles along the required direction in the available display area as long as the highest width/height ratio of any rectangle in the current row keeps improving. Once the highest aspect ratio among the rectangles has reached a minimum, and adding another rectangle to the current row would increase the worst aspect ratio, the current row is fixed and a new row is created.

The following image demonstrates the tree map layout calculated using this algorithm.

For more information about Layout Algorithms, refer to the Layout Algorithms topic.

Implements

ITreeMapLayoutAlgorithm

Inheritance

Object HierarchicalElement TreeMapElement TreeMapLayoutAlgorithmBase TreeMapSquarifiedLayoutAlgorithm

See Also

TreeMapSquarifiedLayoutAlgorithm Members

DevExpress.XtraTreeMap Namespace