forceatlas2
forceatlas2 copied to clipboard
Maintain position history
This pull request adds the ability to maintain the position history while the ForceAtlas2 algorithm progresses (just within the NetworkX function, for now). This is useful if you want to create animations of the nodes from random to reaching their final resting positions.
By passing keep_history=True
, it will return both the final positions, and a list of all the positions throughout the iterations.
@beyondbeneath Thanks for this useful functionality, I will merge the changes soon. Cheers! 👍
Would be great to have this! Is there any update on the progress for this feature?
Any news on that review?
There's not a lot of active developers on this repo @filannim - but if you're after the seeding, if using the PR branch is not sufficient, I think you can literally just import random
and then random.seed(1)
from wherever you are running it, and it might actually do what you need.