forceatlas2 icon indicating copy to clipboard operation
forceatlas2 copied to clipboard

Is there any way to use an initial seed?

Open filannim opened this issue 3 years ago • 3 comments

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.

filannim avatar Sep 25 '20 15:09 filannim

@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?

poltavski avatar Sep 30 '20 13:09 poltavski

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

beyondbeneath avatar Mar 14 '21 10:03 beyondbeneath

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

This is great. Thanks!

filannim avatar Mar 26 '21 07:03 filannim