Dan Schult
Dan Schult
The `generic_bfs_edges()` function has input arguments `neighbors` and `sort_neighbors` and they seems to do the same thing -- or more precisely, their functionality duplicates. `neighbors` is "A function that takes...
Given the [speed-up seen in bypassing quotient_graph](https://github.com/networkx/networkx/pull/4929#discussion_r659926874) in #4929 I think we should revisit the code in `quotient_graph`. And probably in the whole algorithms/minors subpackage. Maybe it should be turned...
Fixes #5901 by yielding a list of copies-of-sets in the partition instead of the partition-list-of-sets that will be used for computing the next partition.
The PR #5788 by @kpetridis24 on VF2++ has a nice function called `BFS_levels` which in slightly generalized form would be a good addition to the [breadth_first_search.py](https://github.com/networkx/networkx/blob/main/networkx/algorithms/traversal/breadth_first_search.py) module. It is very...
This PR changes the idiom `import numpy as np` within each function by moving it to the top of the module and using `np = nx.lazy_import("numpy")`, with similar treatment for...
Based on discussion in #5813 we should add an example of a subclass of the graph classes to the MultiGraph and MultiDiGraph classes. The `ThinGraph` example from the Graph and...
An idea for an example subclass of the base graph classes is a `scipy.sparse.*_array` example. This is mentioned in a discussion in #5813 and has been talked about a bunch...
This builds on PR #5639 and proposes a new interface focusing on - to_latex(G, caption, latex_label, as_document=False) - write_latex(G, "just_a_figure.tex", caption, latex_label, as_document=False) I have put it in a separate...
The meaning of "center" in our layout functions has not been discussed before. We've used "center" to be the mean position. But maybe it should be the midpoint between min/max....