/** * Squarified treemap layout (Bruls, Huizing and van Wijk). * * Cells are placed in input order: rows grow along the shorter side of the * remaining rectangle while that keeps the worst aspect ratio from getting * worse. Plain arithmetic in a fixed order, so the same values always give the * same rectangles; callers round before emitting. */ export interface Rect { x: number; y: number; width: number; height: number; } /** Rectangles for positive values, one per value, in input order. Non-positive values get an empty rect. */ export declare function squarify(values: readonly number[], bounds: Rect): Rect[]; //# sourceMappingURL=chart-treemap-layout.d.ts.map