-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
When dragging a node, all related nodes are all moved as whole #46
Comments
Do you mind posting a screenshot, ideally a gif? Thanks. |
To be honest, I don't have full control over visualization, including animation/interaction. I'm using vis-network as the visualization framework, and as a result, we're limited by the capabilities it provides. I've been tunning the parameters for a long time, and there's no perfect solution. The above is just to give you an idea of how complex visualization is, but I surely want to make it look better as long as I can. Seems you want to drag |
However I do notice a bug: there should be only one |
Once the third I think there should be triple |
They're indeed bugs. Not only that, there shouldn't be that many nodes of a and b actually(same for #47), cause the graph is meant to show only one iteration at a time. I've come with an idea for refactoring, but it's gonna take some time. Once done, the issue here will at least be mitigated. |
Okay, now I wonder how you expect to show that the value is derived from value from former iteration. |
That is a pain point. The value derived from previous iterations will miss the links to it's sources unfortunately. I do plan to fix it though, check out #19. The refactoring will do what you suggest by recreating the entire graph, because I believe it's more robust than the current implementation, which removes nodes in the old iteration, then add new nodes. |
"related nodes" means all nodes that show value when hovering the dragged node.
The outcome includes nearly impossible for arranging node graph order in loops, since all values are all bind together.
Example code:
The text was updated successfully, but these errors were encountered: