-
Notifications
You must be signed in to change notification settings - Fork 73
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
Question: how to manually restart the simulation? #46
Comments
I came here to ask the exact same question as @xiaosansiji . I've got the below code example that deletes a node on click, changing the graph like when @xiaosansiji adds a node. On click the node is deleted but all the remaining nodes bunch up in the top left corner.
|
super ghetto workaround with a dependency on
the |
The reason the simulation does not update is that the alpha value is not being refreshed. Currently the simulation only ticks as long as The simplest way for now is to pass |
What I do?
I render the force graph by some node infos;
I add a node to the graph.
What I want?
The graph restart the simulation and render automatically.
What's problem?
The graph render automatically after I add a new node. But the simulation dosen't restart automatically.
so all nodes are pressed together.
How to manually restart the simulation?
The text was updated successfully, but these errors were encountered: