networkx icon indicating copy to clipboard operation
networkx copied to clipboard

Network Analysis in Python

Results 466 networkx issues
Sort by recently updated
recently updated
newest added

Adds the ability to specify which function argument(s) the `@not_implemented_for()` decorator applies to. As discussed in #7227 review comments ([link](https://github.com/networkx/networkx/pull/7227#discussion_r1464333522)). Adds tests for this behavior. ~Applies the new functionality to...

type: Enhancements

This is like doing `backend=...` when calling a dispatchable function. I think this will be especially nice when combined with #7363, which will let us set it within a context:...

type: Enhancements
Dispatching

The warning was updated to show how to use the config setting: ```python nx.config.warnings.discard("cache") ``` Here is a way to ignore this warning using `warnings` module: ```python import warnings warnings.filterwarnings('ignore',...

type: Enhancements
Dispatching

This is an experiment exploring @Schefflera-Arboricola's comment https://github.com/networkx/networkx/pull/7485#pullrequestreview-2144913888 . This combines #7485 and #7363, and allows backend keyword arguments to be set via config context manager. For example: ```python with...

type: Enhancements
Dispatching

Clarifies the meaning of the generation number in DGM graphs, as discussed in #7472. Also contains additional tests based on average clustering and average shortest path length in the original...

type: Documentation

Hello all, This contribution implements DomiRank centrality to networkx using scipy.sparse.csr_arrays, providing both an analytical and iterative solution (using Newton iteration). It would be great to have the addition of...

type: Enhancements

Previously, using `backend="foo"` would silently work if there were no backends installed. We should catch e.g. typos sooner. Note that I originally had this bugfix in #7485, but I think...

type: Bug fix
Dispatching

Enable cache by default as discussed during the dispatch meeting yesterday. #7497 is a companion PR that will make caching UX even nicer. CC @rlratzel

`can_run` and `should_run` may not be able to capture everything, so might as well try the next backend. This also improves error and log messages to mention possible future behavior,...

type: Enhancements
Dispatching

... and individual functions. This gives much greater control over how and when to use backends. For example, I could see it being very handy to be able to do...

type: Enhancements
Dispatching