devtools/util/treemap_layout library
Classes
- TreemapTile
- A SizeAnalysisNode laid out into a screen-space rectangle by layoutTreemap.
Functions
-
layoutTreemap(
List< SizeAnalysisNode> nodes, Rect bounds) → List<TreemapTile> -
Lays out
nodesintoboundsvia the squarified treemap algorithm (Bruls/Huizing/van Wijk), the same one Flutter DevTools' App Size tool uses.