Skip to content
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

Update values on nodes but keeping the tree nodes opened as they were #507

Open
cafischer opened this issue Jul 12, 2024 · 0 comments
Open

Comments

@cafischer
Copy link

Are you reporting a bug, or opening a feature request?

Question (maybe feature request)

What is the behavior/output you expect?

I use a custom node and it has some properties that require some time to load. So I would like to show a loading symbol on the node and update that with the value once it arrives. I would like my users to be able to browse the tree and open certain nodes. When the node values update, the tree should stay open as it was and only the respective node should be re-rendered to display the new value.
It would also be ok if the whole tree is re-rendered but I can state which nodes I want to have open initially.

Is that already possible? How could I do that?

What version of react-d3-tree are you using?

3.3.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant