# layout

fun <N, Row, Column> layout(children: Array<N>, bounds: Rectangle2D?, accessor: TreeMapAccessor<N>): Array<Rectangle2D?>

Divide the items in the list, other than P, into three lists, L1, L2, and L3, such that L1 consist of items whose index is less than P and L2 have items having index less than those in L3, and the aspect ratio of RP is as close to 1 as possible.

#### Return

the layout

#### Parameters

children

the child nodes

bounds

the bounding box