-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adaptive collapsing of node trees #310
Comments
This would be really great, to trigger this the nodes and edges data should be updated. This behaviour will trigger a render on whole canvas and cause lagging while painting large data. To avoid this current behaviour is to hide/display through CSS. We can take suggestions for this in this issue. |
I have no expertise in Webdev, so i fear that my capabilities to support here will be limited. |
Hi @tram98, it would be expensive to trigger a re-render when expanding or collapsing nodes, especially for large trees. However, could you please provide more information about the use case of adaptive collapsing of node trees with an example as to understand the desired behaviour in detail? Thanks |
Hey there, the basic idea would as follows: Suppose you have a big tree with 3 big nodes that take up a lot of space. Is that explanation clear enough? |
Hey there ! |
Initially when collapsing implemented it was re-rendering the entire graph. For big graphs, this is very inefficient. |
I've opened a new issue for follow-up with details. |
Feature
A good addition could be to re-render the node tree when a node is collapsed or expanded. This would reduce the spread of different nodes around those less important to the user.
Making the nodes draggable could be a different approach, but I might be getting ahead.
Thank you very much for the tool!!!
Cheers,
Jannick
Alternative solutions or implementations
No response
Other context
No response
The text was updated successfully, but these errors were encountered: