|
| |
| Navigation |
Synopsis Treemap layout.
Function
Figure treemap(Figures nodes, FProperty props...)
Description Takes a list of nodes and and draws a treemap, see TreeMapping
Examples
t = treemap([box(area(10),fillColor("green")),
box(area(20),fillColor("red")),
box(text("jada"),area(10)),
box(vcat([
text("nested"),
treemap([box(area(5),fillColor("purple")),box(area(10),fillColor("orange"))])
],shrink(0.9)),area(30),fillColor("lightblue"))
]);
render(t);
|