Shortcut to expand all nodes
In theory, it's enough to set currentData = rootData.nodes
and call updateDiagram
in Voronoi.js.
In practice, we should take care of hiding the sites (and polygons?) of nodes that are not leaves.
In theory, it's enough to set currentData = rootData.nodes
and call updateDiagram
in Voronoi.js.
In practice, we should take care of hiding the sites (and polygons?) of nodes that are not leaves.