I'm using d3's force-layout and would like to move nodes on an event trigger.
I've created a a minimal block here showing the desired functionality.
As you can see, when the button is clicked, the nodes move rapidly to their new position. I'd like to slow this down. I've played with combinations of (what I thought to be) relevant attributes specified in the documentation (e.g. alpha, alphaDecay, velocityDecay), but to no avail.
To recap: how do I make the nodes move slower on position updates?
Thanks!