Repository navigation
Forceatlas2 - #7543
Forceatlas2#7543
Conversation
- Added gravity - Fixed swing update computation
from ported-java code
* Fix spacing * Add reference
dschult
left a comment
There was a problem hiding this comment.
Thanks for putting this together @rossbar. And thanks @cvanelteren for putting up with us for so long. finishing touches are on their way. :)
|
I had a chance to dig through the rest of the reviews from #5392 that had been marked "resolved" and apply any changes that had accidentally been reverted/removed. This PR should now be in a state where all of the comments from previous review have been applied! |
|
Removed a divide-by-zero RunTimeWarning that showed up after the numpy 2.0 release. Added the default values to the doc_string parameter descriptions. Revamped the initial position code to place the initial points within the smallest rectangular region that includes all the inputted position nodes. If no nodes are given initial positions, the region is the units square I added the seed parameter to allow setting initial node positions in a deterministic way. This was also missing from I believe this is ready for review -- and maybe merging. 🎉 if tests passed. |
rossbar
left a comment
There was a problem hiding this comment.
This LGTM as well - thanks @cvanelteren and @dschult for your resilience and hard work getting this over the finish line!
Add the forceatlas2 layout to NetworkX --------- Co-authored-by: cvanelteren <[email protected]> Co-authored-by: Dan Schult <[email protected]>
Continuation of #5392
Opening this one instead of #7521 to disable force-pushing by non-maintainers to ensure that changes made during the review process are not accidentally lost.
A quick summary of the discussion form #5392 - the addition of the forceatlas2 layout to networkx has been approved, all that remains is to ensure that API is "networkx-y"!