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

Adding a child node expands all nodes in the tree. #72

Open
rahulsabbineni opened this issue Sep 13, 2020 · 2 comments
Open

Adding a child node expands all nodes in the tree. #72

rahulsabbineni opened this issue Sep 13, 2020 · 2 comments

Comments

@rahulsabbineni
Copy link

Thank you for creating this library! I'm using Vue with d3 to allow users to edit d3 trees and reviewing this library's code has been instructive. I'm not sure if this library is still maintained, but I'm creating the following bug report because it might be helpful for other developers using this library.

When a new child node is created, every node in the graph expands to display all of its children. This behavior can be reproduced with the following steps:

Using the source provided here: https://github.com/David-Desmaisons/Vue.D3.tree/blob/master/dist/index.js, I've been able to reproduce the bug locally as well.

@stuft2
Copy link

stuft2 commented Oct 2, 2020

Same thing happens when deleting a node

@David-Desmaisons
Copy link
Owner

This is currently a limitation. Editing the tree will cause a redraw where expand-collapse information are resetted.

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

3 participants