RadialWalkerTreeLayout

class RadialWalkerTreeLayout<T>(adapter: TreeAdapter<T>, configuration: RadialWalkerLayoutConfiguration = RadialWalkerLayoutConfiguration(), nodeExtentProvider: NodeExtentProvider<T> = UniformNodeExtentProvider())

A radial variant of the Walker tree layout algorithm.

Nodes are arranged in concentric circles around the root. Each depth level forms a ring, and sibling nodes are spaced proportionally along the arc. Internally delegates to WalkerTreeLayout for the initial linear positioning, then transforms the across-axis into angular coordinates.

Parameters

adapter

Adapter providing tree traversal over the external structure.

configuration

Radial layout spacing parameters.

nodeExtentProvider

Provides node dimensions. Defaults to dimensionless points (0×0).

Type Parameters

T

The node type of the external tree.

Constructors

Link copied to clipboard
constructor(adapter: TreeAdapter<T>, configuration: RadialWalkerLayoutConfiguration = RadialWalkerLayoutConfiguration(), nodeExtentProvider: NodeExtentProvider<T> = UniformNodeExtentProvider())

Functions

Link copied to clipboard

Executes the layout algorithm and returns the result with polar-to-Cartesian positions.