When adding a new node the simulation doesn't take it into account.
aguaviva opened this issue · 1 comments
aguaviva commented
I created a sample where you can add new nodes by clicking on the edges.
https://gist.github.com/aguaviva/2fb5f756e900e89edf6b622c55d3f7e8
These new nodes don't get simulated and the removed edges keep on getting simulated.
aguaviva commented
It turns out I was accessing the data member directly and not through the function member data()
Thanks for a great lib!