bhargavchippada / forceatlas2

Fastest Gephi's ForceAtlas2 graph layout algorithm implemented for Python and NetworkX
GNU General Public License v3.0
280 stars 80 forks source link

Is there any way to use an initial seed? #29

Open filannim opened 4 years ago

filannim commented 4 years ago

I've noticed that, in general, multiple running of the algorithm can lead to different layouts (positions). I was wondering whether there's a way to set an initial seed and force the algorithm to be replicable over time.

poltavski commented 4 years ago

@underyx , @gokceneraslan , @victorbenichoux, and especially @bhargavchippada - thanks for the package. Can you point out the direction of solving this issue if it can be done with your package?

@filannim Any luck yourself dealing with this situation?

beyondbeneath commented 3 years ago

It's not in the current version - but my PR (which was mainly about animation), did implement this: https://github.com/bhargavchippada/forceatlas2/pull/11

filannim commented 3 years ago

It's not in the current version - but my PR (which was mainly about animation), did implement this:

11

This is great. Thanks!