NodeExtentProvider

Provides the dimensions of each node in the tree. Used by the layout algorithm to prevent overlap between nodes of varying sizes.

Type Parameters

T

The node type of the external tree.

Functions

Link copied to clipboard
abstract fun height(node: T): Float

Returns the height of node.

Link copied to clipboard
abstract fun width(node: T): Float

Returns the width of node.