You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently built the following tree diagram which allows a user to expand and collapse nodes as well as zoom and pan. Unfortunately, there is a lot of code required as I had to work around not being able to access a child node's children. I'd like to file the following feature request which I think will be useful to anyone using the tree transform.
In the transform, a dataset is created with ["x", "y", "depth", "children"]. Can we add a column with an object or array which specifies all the children in the hierarchy or create a function which can be accessed via an expression? This is needed because when you collapse a node, you can't just collapse the immediate child or you will leave orphans of that child still rendered on screen.
I could probably list quite a few other feature requests which would reduce the code required but the first one would probably halve the size of the spec.
As as aside, I think there may be a bug in the SVG renderer. When you zoom in using the SVG renderer, the KPI bars disappear from the bottom of each node. This doesn't happen with the Canvas renderer. Weirdly, zooming out is not affected.
The text was updated successfully, but these errors were encountered:
I've recently built the following tree diagram which allows a user to expand and collapse nodes as well as zoom and pan. Unfortunately, there is a lot of code required as I had to work around not being able to access a child node's children. I'd like to file the following feature request which I think will be useful to anyone using the tree transform.
I could probably list quite a few other feature requests which would reduce the code required but the first one would probably halve the size of the spec.
Editor
As as aside, I think there may be a bug in the SVG renderer. When you zoom in using the SVG renderer, the KPI bars disappear from the bottom of each node. This doesn't happen with the Canvas renderer. Weirdly, zooming out is not affected.
The text was updated successfully, but these errors were encountered: