You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for comment! The main reason for not having that functionality in the code yet, is because I couldn't come up with a good API yet—but it would be very nice to have something similar to d3.select (selection joins, with enter, exit, and update sets).
An option to emulate this behavior even now, is to rebuild the simulation (with the previous node positions as initial positions). We use that currently in Rerun and it seems sufficiently fast for our use cases, you can take a look here: https://github.com/rerun-io/rerun/blob/main/crates/viewer/re_view_graph/src/layout/provider.rs. Note that this requires keeping track of the nodes in your application code, though.
I was wondering if there was a reason why there isn't some functionality to add/remove nodes or link/unlink nodes of a existing Simulation.
The text was updated successfully, but these errors were encountered: