Archeometer.Analysis.Treemap.SVGRender (Archeometer v0.5.0)
Functions to render an Archeometer.Analysis.Treemap struct into a
svg image.
Squarified algorithm by Mark Bruls, Kees Huizing, and Jarke J. van Wijk:
https://www.win.tue.nl/~vanwijk/stm.pdf
Link to this section Summary
Functions
Renders a Treemap struct into a svg.
Link to this section Functions
Link to this function
render(tree, ns_sep \\ ".")
Renders a Treemap struct into a svg.
Returns the string representing the generated svg image.
The resulting svg can be written to a file or directly embedded into an HTML.
parameters
Parameters
root_node. TheTreemapstruct withpct: 100value to be rendered.