Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.

Keep the position of the collapsed / expanded node #12

Open
kachkaev opened this issue Aug 2, 2016 · 0 comments
Open

Keep the position of the collapsed / expanded node #12

kachkaev opened this issue Aug 2, 2016 · 0 comments

Comments

@kachkaev
Copy link
Collaborator

kachkaev commented Aug 2, 2016

This is somewhat related to #5 and #10.
When a node contains too many children, clicking on it to expand or collapse causes a substantial shift of a tree. You have zoom out and search for the node you've just been looking at, which takes quite a lot of time. A solution could be in calculating x and y of a just-clicked node in two modes (when its children are hidden and visible) and then adjusting the global coordinate system accordingly.

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

No branches or pull requests

1 participant