Is your feature request related to a problem? Please describe.
When a node is expanded (refer to PR #17), the new neighboring nodes are simply placed at position (0,0). This results in several issues in user experience:
Multiple nodes overlap each other.
New nodes are positioned arbitrarily relative to the expanded node.
The transition appears abrupt and disorienting.
Describe the solution you'd like
Open to suggestions. Here are some solutions that I considered and their limitations:
Place the new nodes at the parent node and animate transitioning them in different directions. Limitations: can still lead to overlapping nodes (not completely overlapped as in the original behavior), especially when further expansions are performed.
Re-run the layout algorithm after each node addition. Limitations: makes it difficult for users to keep track of the nodes they were previously viewing
Is your feature request related to a problem? Please describe. When a node is expanded (refer to PR #17), the new neighboring nodes are simply placed at position (0,0). This results in several issues in user experience:
Describe the solution you'd like Open to suggestions. Here are some solutions that I considered and their limitations:
Thank you