depthFirstLayout

open override fun <N, Row, Column> depthFirstLayout(shape: Shape?, parent: N, children: Array<N>, sumSizes: Double, horizontalVanishingPoint: Int, verticalVanishingPoint: Int, accessor: TreeMapAccessor<N>, worker: TreeMapWorker?): Boolean

Arrange the items in the given array to fill the given shape. This is called during the first pass, while traversing the tree from the bottom up.

Parameters

shape

the current rectangle being divided.

parent

the parent node.

children

the items to map.

sumSizes

the size of the parent.

horizontalVanishingPoint
verticalVanishingPoint

@return true if the layout has been cancelled, false otherwise

worker

the worker thread