Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initial_graph parameter to scale_free_graph and deprecate create_using #5697

Merged
merged 5 commits into from Jun 7, 2022

Conversation

rossbar
Copy link
Contributor

@rossbar rossbar commented Jun 7, 2022

Fixes #4729 by adding a new keyword argument named initial_graph to replace create_using. See the reference issue for details. Note that creating a scale-free graph starting from an existing MultiDiGraph is itself not actually tested, but that's a separate issue.

@jarrodmillman jarrodmillman added this to the networkx-3.0 milestone Jun 7, 2022
@dschult dschult merged commit 9d462e0 into networkx:main Jun 7, 2022
MridulS pushed a commit to MridulS/networkx that referenced this pull request Feb 4, 2023
…using (networkx#5697)

* Add initial_graph and deprecate create_using for scale_free_graph.

* Add test for initial_graph kwarg.

* doc and warningsfilter.

* Fix formatting.

* Update doc/developer/deprecations.rst

Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>
cvanelteren pushed a commit to cvanelteren/networkx that referenced this pull request Apr 22, 2024
…using (networkx#5697)

* Add initial_graph and deprecate create_using for scale_free_graph.

* Add test for initial_graph kwarg.

* doc and warningsfilter.

* Fix formatting.

* Update doc/developer/deprecations.rst

Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Graph instance modified in place by scale_free_graph
3 participants