pub fn squarify(area: Rect, weights: &[f64]) -> Vec<(usize, Rect)>Expand description
Lay weights out into area, area ∝ weight, via squarified slice-and-dice.
Returns (original index, rect) for each positive-weight item, in input
order. Zero/negative weights are skipped. Pure geometry → directly testable.