UNPKG

bentogreed

Version:

A lightweight, framework-agnostic library for generating bento grid layouts

7 lines 314 B
import { Rectangle, Tile, LayoutTile } from '../types'; /** * Squarified treemap algorithm implementation * Based on the algorithm by Bruls, Huizing, and van Wijk */ export declare function squarifiedLayout(tiles: Tile[], rect: Rectangle, gutter?: number): LayoutTile[]; //# sourceMappingURL=squarified.d.ts.map