Treemap module

flush_nodes

procedureSource

Places one row of children along the short side of the free area, and returns their total weight.

flush_nodes :: (
    children: [] *Treemap_Node,
    unsized_cursor: int,
    child_index: int,
    display: *Treemap_Display,
    root_corner: Vector2,
    fill_weight_total: float64,
    horizontal: bool,
    size: Vector2
) -> flushed_node_weight: float64

Parameters

children: [] *Treemap_Node
unsized_cursor: int
child_index: int
display: *Treemap_Display
root_corner: Vector2
fill_weight_total: float64
horizontal: bool
size: Vector2

Returns

flushed_node_weight: float64

See also