Skip to content

Releases: networkx/networkx

NetworkX 3.4.2

21 Oct 12:40
networkx-3.4.2
2acf159
Compare
Choose a tag to compare

NetworkX 3.4.2

We're happy to announce the release of networkx 3.4.2!

Bug Fixes

  • Fix docstrings of dispatchable functions (#7679).
  • Fix draw_networkx_nodes return type (#7685).

Documentation

  • Add disclaimer about LLM driven PRs (#7683).

Maintenance

  • Fix doc warnings from recently added docs (#7682).

Contributors

6 authors added to this release (alphabetically):

4 reviewers added to this release (alphabetically):

These lists are automatically generated, and may not be complete or may contain duplicates.

NetworkX 3.4.1

11 Oct 21:25
networkx-3.4.1
ab4d375
Compare
Choose a tag to compare

networkx 3.4.1

We're happy to announce the release of networkx 3.4.1!

Maintenance

  • Remove old deprecation decorator (#7669).
  • MAINT: delay loading of backend_info to after imports (#7672).

Contributors

2 authors added to this release (alphabetically):

3 reviewers added to this release (alphabetically):

These lists are automatically generated, and may not be complete or may contain duplicates.

NetworkX 3.4

10 Oct 19:46
networkx-3.4
fe7795a
Compare
Choose a tag to compare

networkx 3.4

We're happy to announce the release of networkx 3.4!

API Changes

  • Expires the forest_str deprecation (#7414).
  • [ENH, BUG]: added colliders and v_structures and deprecated compute_v_structures in dag.py (#7398).
  • Expires the random_tree deprecation (#7415).
  • Expire deprecation for strongly_connected_components_recursive (#7420).
  • Expire deprecated sort_neighbors param in generic_bfs_edges (#7417).
  • Rm deprecated normalized param from s_metric (#7418).
  • Expire deprecated nx.join in favor of join_trees (#7419).
  • Remove depercated Edmonds class for 3.4 (#7447).
  • Remove deprecated MultiDiGraph_EdgeKey for 3.4 (#7448).
  • Add edges keyword/deprecate link keyword arguments in JSON input-output (#7565).
  • Revert breaking change to node_link_* link defaults (#7652).

Enhancements

  • Add a nodelist feature to from_numpy_array (#7412).
  • Prioritize edgelist representations in to_networkx_graph (#7424).
  • Adds initial debug logging calls to _dispatchable (#7300).
  • add: nodes attribute is modifiable (#7532).
  • Enable config to be used as context manager (#7363).
  • Added code to handle multi-graph in mst (#7454).
  • Enable caching by default (#7498).
  • #7546 More detail error message for pydot (#7558).
  • Fix weakly_connected_components() performance on graph view (#7586).
  • Forceatlas2 (#7543).
  • avoid iteration and use boolean indexing (#7591).
  • Hide edges with a weight of None in simple_paths (#7583).
  • Improved running time for harmonic centrality (#7595).
  • Add remove attribute functions (#7569).
  • Log "can/should run" and caching in dispatch machinery (#7568).
  • Individualize drawing attributes (#7570).
  • added nx-parallel gsoc project (#7620).
  • Harmonic diameter (#5251).
  • Allow dispatch machinery to fall back to networkx (#7585).
  • Add create_using parameter for random graphs (#5672).
  • Add config option to disable warning when using cached value (#7497).

Bug Fixes

  • Fix graph name attribute for complete_bipartite_graph (#7399).
  • Remove import warnings during to_networkx_graph conversion (#7426).
  • Fix nx.from_pandas_edgelist so edge keys are not added as edge attributes and edge keys (#7445).
  • Fix from_pandas_edgelist for MultiGraph given edge_key (#7466).
  • Fix dispatch tests when using numpy 2 (#7506).
  • [ENH, BUG]: added colliders and v_structures and deprecated compute_v_structures in dag.py (#7398).
  • Fix reading edgelist when delimiter is whitespace, e.g. tab (#7465).
  • Ensure we always raise for unknown backend in backend= (#7494).
  • Prevent to_agraph from modifying graph argument (#7610).
  • Implementing iterative removal of non_terminal_leaves in Steiner Tree approximation (#7422).
  • Only allow connected graphs in eigenvector_centrality_numpy (#7549).
  • CI: Fix typo in nightly run pip install (#7625).

Documentation

  • Document missing shortest_path functions (#7394).
  • Optimal Edit Paths Return Section Improved (#7375).
  • Minor updates to simple_cycles docstring (#7421).
  • DOC: Clarifying NetworkXPointlessConcept exception (#7434).
  • DOC: updated pairs.py (#7416).
  • Add docstring example for directed tree (#7449).
  • Change docs of shortest_path_length so return is number instead of int (#7477).
  • Use intersphinx_registry to manage intersphinx mapping (#7481).
  • Ma: fix some spelling errors in docs (#7480).
  • Update NetworkX reference links in doc index (#7500).
  • strong product docs update (#7511).
  • Refactoring and enhancing user-facing Backend and Configs docs (#7404).
  • Fixed the citation in dominance.py [Issue #7522] (#7524).
  • Clarify generation number in dorogovtsev_goltsev_mendes_graph() (#7473).
  • Add Introspection section to backends docs (#7556).
  • DOC: Added default_config in get_info's description (#7567).
  • Prettify README.rst (#7514).
  • DOC: Fix typo in the code snippet provided in the docstring of nx_pydot.pydot_layout() (#7572).
  • Fix installation instructions for default extras in README (#7574).
  • Add missing metadata to v3.3 release notes (#7592).
  • Correct the members of steering council (#7604).
  • Fix dispatch docs formatting (#7619).
  • Add to Contributor List (#7621).
  • Example fix for issue 7633 (#7634).
  • Fix: Correct community color assignment in Girvan-Newman community detection (#7644).
  • Updated docstring for generators/karate_club_graph() (#7626).
  • Updates documentation to include details about using NetworkX with backends (#7611).
  • Add examples section to to_scipy_sparse_array (#7627).
  • Add examples to docstrings of subgraph_(iso/monomorphism) methods (#7622).

Maintenance

  • Simplify flow func augmentation logic in connectivity module (#7367).
  • A few more doctest skips for mpl/np dependencies (#7403).
  • Remove repetitive words (#7406).
  • FilterAdjacency: len is recalculated unnecessarily #7377 (#7378).
  • Add check for empty graphs in flow_hierarchy (#7393).
  • Use nodelist feature of from_numpy_array (#7425).
  • Cleanup remaining usages of deprecated random_tree in package (#7411).
  • Add check for empty graphs in non_randomness (#7395).
  • Update tests for macOS Sonoma v14 (#7437).
  • Update doc requirements (#7435).
  • Update pygraphviz (#7441).
  • Always cache graph attrs for better cache behavior (#7455).
  • retain adjacency order in nx-loopback copy of networkx graph (#7432).
  • DEV: Add files generated by benchmarking to .gitignore (#7461).
  • Remove redundant graph copy in algorithms.bridges.bridges() (#7471).
  • CI: Add G...
Read more

NetworkX 3.4rc0

06 Oct 17:31
networkx-3.4rc0
ba0576a
Compare
Choose a tag to compare
NetworkX 3.4rc0 Pre-release
Pre-release

networkx 3.4rc0

We're happy to announce the release of networkx 3.4rc0!

API Changes

  • Expires the forest_str deprecation (#7414).
  • [ENH, BUG]: added colliders and v_structures and deprecated compute_v_structures in dag.py (#7398).
  • Expires the random_tree deprecation (#7415).
  • Expire deprecation for strongly_connected_components_recursive (#7420).
  • Expire deprecated sort_neighbors param in generic_bfs_edges (#7417).
  • Rm deprecated normalized param from s_metric (#7418).
  • Expire deprecated nx.join in favor of join_trees (#7419).
  • Remove depercated Edmonds class for 3.4 (#7447).
  • Remove deprecated MultiDiGraph_EdgeKey for 3.4 (#7448).
  • Add edges keyword/deprecate link keyword arguments in JSON input-output (#7565).
  • Revert breaking change to node_link_* link defaults (#7652).

Enhancements

  • Add a nodelist feature to from_numpy_array (#7412).
  • Prioritize edgelist representations in to_networkx_graph (#7424).
  • Adds initial debug logging calls to _dispatchable (#7300).
  • add: nodes attribute is modifiable (#7532).
  • Enable config to be used as context manager (#7363).
  • Added code to handle multi-graph in mst (#7454).
  • Enable caching by default (#7498).
  • #7546 More detail error message for pydot (#7558).
  • Fix weakly_connected_components() performance on graph view (#7586).
  • Forceatlas2 (#7543).
  • avoid iteration and use boolean indexing (#7591).
  • Hide edges with a weight of None in simple_paths (#7583).
  • Improved running time for harmonic centrality (#7595).
  • Add remove attribute functions (#7569).
  • Log "can/should run" and caching in dispatch machinery (#7568).
  • Individualize drawing attributes (#7570).
  • added nx-parallel gsoc project (#7620).
  • Harmonic diameter (#5251).
  • Allow dispatch machinery to fall back to networkx (#7585).

Bug Fixes

  • Fix graph name attribute for complete_bipartite_graph (#7399).
  • Remove import warnings during to_networkx_graph conversion (#7426).
  • Fix nx.from_pandas_edgelist so edge keys are not added as edge attributes and edge keys (#7445).
  • Fix from_pandas_edgelist for MultiGraph given edge_key (#7466).
  • Fix dispatch tests when using numpy 2 (#7506).
  • [ENH, BUG]: added colliders and v_structures and deprecated compute_v_structures in dag.py (#7398).
  • Fix reading edgelist when delimiter is whitespace, e.g. tab (#7465).
  • Ensure we always raise for unknown backend in backend= (#7494).
  • Prevent to_agraph from modifying graph argument (#7610).
  • Implementing iterative removal of non_terminal_leaves in Steiner Tree approximation (#7422).
  • Only allow connected graphs in eigenvector_centrality_numpy (#7549).
  • CI: Fix typo in nightly run pip install (#7625).

Documentation

  • Document missing shortest_path functions (#7394).
  • Optimal Edit Paths Return Section Improved (#7375).
  • Minor updates to simple_cycles docstring (#7421).
  • DOC: Clarifying NetworkXPointlessConcept exception (#7434).
  • DOC: updated pairs.py (#7416).
  • Add docstring example for directed tree (#7449).
  • Change docs of shortest_path_length so return is number instead of int (#7477).
  • Use intersphinx_registry to manage intersphinx mapping (#7481).
  • Ma: fix some spelling errors in docs (#7480).
  • Update NetworkX reference links in doc index (#7500).
  • strong product docs update (#7511).
  • Refactoring and enhancing user-facing Backend and Configs docs (#7404).
  • Fixed the citation in dominance.py [Issue #7522] (#7524).
  • Clarify generation number in dorogovtsev_goltsev_mendes_graph() (#7473).
  • Add Introspection section to backends docs (#7556).
  • DOC: Added default_config in get_info's description (#7567).
  • Prettify README.rst (#7514).
  • DOC: Fix typo in the code snippet provided in the docstring of nx_pydot.pydot_layout() (#7572).
  • Fix installation instructions for default extras in README (#7574).
  • Add missing metadata to v3.3 release notes (#7592).
  • Correct the members of steering council (#7604).
  • Fix dispatch docs formatting (#7619).
  • Add to Contributor List (#7621).
  • Example fix for issue 7633 (#7634).
  • Fix: Correct community color assignment in Girvan-Newman community detection (#7644).
  • Updated docstring for generators/karate_club_graph() (#7626).

Maintenance

  • Simplify flow func augmentation logic in connectivity module (#7367).
  • A few more doctest skips for mpl/np dependencies (#7403).
  • Remove repetitive words (#7406).
  • FilterAdjacency: len is recalculated unnecessarily #7377 (#7378).
  • Add check for empty graphs in flow_hierarchy (#7393).
  • Use nodelist feature of from_numpy_array (#7425).
  • Cleanup remaining usages of deprecated random_tree in package (#7411).
  • Add check for empty graphs in non_randomness (#7395).
  • Update tests for macOS Sonoma v14 (#7437).
  • Update doc requirements (#7435).
  • Update pygraphviz (#7441).
  • Always cache graph attrs for better cache behavior (#7455).
  • retain adjacency order in nx-loopback copy of networkx graph (#7432).
  • DEV: Add files generated by benchmarking to .gitignore (#7461).
  • Remove redundant graph copy in algorithms.bridges.bridges() (#7471).
  • CI: Add GitHub artifact attestations to package distribution (#7459).
  • Add polynomials.py to needs_numpy (#7493).
  • MAINT: Rename LoopbackDispatcher to LoopbackBackendInterface and dispatcher to backend_interface (#7492).
  • CI: update action that got moved org (#7503).
  • Update momepy (#7507).
  • Fix pygraphviz install on Windows ([#7512](htt...
Read more

NetworkX 3.3

06 Apr 13:09
networkx-3.3
Compare
Choose a tag to compare

networkx 3.3

We're happy to announce the release of networkx 3.3!

API Changes

  • Disallow negative number of nodes in complete_multipartite_graph (#7057).
  • DEP: Deprecate the all_triplets one-liner (#7060).
  • [A-star] Added expansion pruning via cutoff if cutoff is provided (#7073).
  • Make HITS raise exceptions consistent with power iterations (#7084).
  • DEP: Deprecate random_triad (#7061).
  • Added feature modular graph product (#7227).
  • ENH: Speed up common/non_neighbors by using _adj dict operations (#7244).
  • Deprecate the create argument of nonisomorphic_trees (#7316).
  • Improve total_spanning_tree_weight (#7100).
  • Update init.py (#7320).
  • add **kwargs to traveling_salesman_problem (#7371).

Enhancements

  • Add Tadpole graph (#6999).
  • [A-star] Added expansion pruning via cutoff if cutoff is provided (#7073).
  • Implementation of $S^1$ model (#6858).
  • [Feat] Random expanders utilities (#6761).
  • Compare graphs for generator functions when running tests with backend (#7066).
  • Add Kirchhoff index / Effective graph resistance (#6926).
  • Changed return types of shortest path methods to improve consistency (#6584).
  • New PR for Fixes minimal d-separator function failing to handle cases where no d-separators exist (#7019).
  • ENH : Provide non-normalized and normalized directed laplacian matrix calculation (#7199).
  • feat: drop the use of node attribute "first_nbr" in PlanarEmbedding (#7202).
  • Add functions to compute Schultz and Gutman Index (#3709).
  • Divisive community algorithms (#5830).
  • Added feature modular graph product (#7227).
  • ENH : added sort_neighbors to all functions in depth_first_search.py (#7196).
  • New graph generator for the Kneser graph (#7146).
  • Draw MultiDiGraph edges and labels qa7008 (#7010).
  • Use github actions to run a comparison benchmark (#7268).
  • BFS layout implementation (#5179).
  • Add max_level= argument to louvain_communities to limit macro-iterations (#6909).
  • Review and update @nx._dispatchable usage since 3.2.1 (#7302).
  • Transmogrify _dispatchable objects into functions (#7298).
  • fix: make PlanarEmbedding.copy() use add_edges_from() from parent (closes #7223) (#7224).
  • Allow seed of np.random instance to exactly produce arbitrarily large integers (#6869).
  • Improve total_spanning_tree_weight (#7100).
  • add seed to nx.generate_random_paths (#7332).
  • Allow backends to implement should_run (#7257).
  • Adding tree broadcasting algorithm in a new module (#6928).
  • Option to include initial labels in weisfeiler_lehman_subgraph_hashes (#6601).
  • Add better error message when trying to get edge that is not present (#7245).
  • Make is_negatively_weighted dispatchable (#7352).
  • Add option to hide or show tick labels (#6018).
  • ENH: Cache graphs objects when converting to a backend (#7345).

Bug Fixes

  • Fix listing of release notes on Releases page (#7030).
  • Fix syntax warning from bad escape sequence (#7034).
  • Fix triangles to avoid using is to compare nodes (#7041).
  • Fix error message for nx.mycielski_graph(0) (#7056).
  • Disallow negative number of nodes in complete_multipartite_graph (#7057).
  • Handle edge cases for greedy_modularity_communities (#6973).
  • FIX: Match the doc description while copying over data (#7092).
  • fix: Include singleton/trivial paths in all_simple_paths & other functions (#6694).
  • Dinitz correction (#6968).
  • Modify GML test to fix invalid octal character warning (#7159).
  • Fix random_spanning_tree() for single node and empty graphs (#7211).
  • PlanarEmbedding.remove_edge() now updates removed edge's neighbors (#6798).
  • add seed to graph creation (#7241).
  • add seed to tests of fast_label_propatation_communities (#7242).
  • Fix rich_club_coefficient() for single node and empty graphs (#7212).
  • Fix minimum_spanning_arborescence regression (#7280).
  • Move arrowstyle input munging after intput validation (#7293).
  • Fix empty GraphML attribute is not parsed (#7319).
  • Add new test result to test_asadpour_tsp and change linprog method (#7335).
  • Fix custom weight attribute for Mehlhorn (#6681).

Documentation

  • Update release process (#7029).
  • Update convert_matrix.py (#7018).
  • fix extendability function name in bipartite.rst (#7042).
  • Minor doc cleanups to remove doc build warnings (#7048).
  • DOC: Add example to generic_bfs_edges to demonstrate the neighbors param (#7072).
  • Hierarchical clustering layout gallery example (#7058).
  • Fixed an error in the documentation of the katz centrality (#6294).
  • Create 3d_rotation_anime.py (#7025).
  • DOC: Add docstrings to filter view functions (#7086).
  • DOC: Add docstrings to Filter mapping views (#7075).
  • DOCS: Fix internal links to other functions in isomorphvf2 (#6706).
  • added note for the triangle inequality case in TSP (#6995).
  • Add note about importance of testing to contributor guide (#7103).
  • Proposal to add centrality overview to mentored projects (#7104).
  • Improve documentation of Component Algorithms (#5473).
  • Add dot io to readwrite (#5061).
  • Add Python versions to release notes (#7113).
  • DOC: Turn on inline plots in graph generators docstrings (#6401).
  • Fix duplicate numbering in contributor guide (#7116).
  • DOC: remove unnecessary 'or' in planted_partition_graph (#7115).
  • DOC: Link methods in functions to base Graph methods/properties (#7125).
  • Connect docs to doc_string for total_spanning_tree_weight (#7098).
  • Image (3D RGB data) segmentation by spectral clustering with 3D illustrations (#7040).
  • update triadic_census documentation for undirected graphs - issue 4386 ([#7141](https://github.com/ne...
Read more

NetworkX 3.3rc0

22 Mar 20:13
networkx-3.3rc0
Compare
Choose a tag to compare
NetworkX 3.3rc0 Pre-release
Pre-release

What's Changed

Read more

NetworkX 3.2.1

28 Oct 09:53
networkx-3.2.1
Compare
Choose a tag to compare
networkx-3.2.1

signed 3.2.1 tag

NetworkX 3.2

19 Oct 04:10
networkx-3.2
Compare
Choose a tag to compare
networkx-3.2

signed 3.2 tag

NetworkX 3.1

04 Apr 20:05
networkx-3.1
Compare
Choose a tag to compare
networkx-3.1

signed 3.1 tag

networkx-3.1rc0

30 Mar 21:39
networkx-3.1rc0
Compare
Choose a tag to compare
networkx-3.1rc0 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: networkx-3.0...networkx-3.1rc0