| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* plot_greedy_coloring_Example
* suggestions incorporated
* fix error
* fixed error
* Minor formatting tweaks.
---------
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
* Add community-detection example
* Fix plot layout
* Create subplot layout
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lint and fix using ruff
* add flake8-pie lints
* remove useless import alias
* bump version
* bump deps
---------
Co-authored-by: daniel.eades <daniel.eades@hotmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update mayavi2_spring.py
trial commit
* Example map for GSoC
* Changing errors in the example graph file
* Rename example_map.py to example_map_2.py
* style change to map code
* Trial-map
* Undo mayavi example change.
* Mv example to gallery and use spx-gallery naming scheme.
* Add docstring to MIS gallery example.
* Simplify example.
* Make node coloring more clear.
---------
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
| |
|
| |
Minor formatting fixups to get rid of doc build warnings.
|
| |
|
|
|
| |
* Fix_Typos
* Commit_Suggestions
|
| |
|
|
|
|
|
|
|
|
| |
* Remove deprecated function nx.info
* remove functions from TOC
* replace print(nx.info(G)) with print(G) in example
Co-authored-by: Dan Schult <dschult@colgate.edu>
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
| |
|
|
|
|
|
|
|
| |
* Remove redundant float conversion
* Remove redundant int conversion
* Use integer division
Co-authored-by: Miroslav Šedivý <6774676+eumiro@users.noreply.github.com>
|
| |
|
|
|
|
|
| |
* CI: sync up black dev requirements version with precommit
* Run black
Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix return type in docstring of internal function.
* Rm explicit mention of numpy matrix from class docstrings.
* Fix return type of floyd_warshall_numpy docstring.
* Remove mention of numpy matrix from code comment.
* Fix simrank similarity internal docstring.
* Rm explicit mention of matrix in favor of 2D array.
* Update to_networkx_graph array exception wording.
* Remove extraneous mention of numpy matrix.
* Don't print array in exception message.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Simplify construction of G with edges rm'd
* Rm unused graph attribute.
* Shorten categorization by node type.
* Simplify node coloring.
* Simplify isomorphism check.
* Rm unit test.
* Rm redundant plotting of each subgraph.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Create plot_subgraphs.py
https://github.com/networkx/networkx/issues/4220
* Update plot_subgraphs.py
black
* Update plot_subgraphs.py
lint plus font_size
* Update plot_subgraphs.py
added more plots
* Update plot_subgraphs.py
removed plots from the unit test and added comments
* Update plot_subgraphs.py
lint
* Update plot_subgraphs.py
typos fixed
* Update plot_subgraphs.py
added nodes to the plot of the edges removed that was commented out for whatever reason
* Update plot_subgraphs.py
revert the latest commit - the line was commented out for a reason - it's broken
* Update plot_subgraphs.py
fixed node color issue
* Update plot_subgraphs.py
format fix
* Update plot_subgraphs.py
forgot to draw the nodes... now fixed
* Fix sphinx warnings about heading length.
* Update examples/algorithms/plot_subgraphs.py
* Update examples/algorithms/plot_subgraphs.py
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
Co-authored-by: Dan Schult <dschult@colgate.edu>
|
| |
|
|
|
|
|
| |
* Add comment about single core CI/CD showing slower parallel output in example script.
* less specific estimate of speedup
Co-authored-by: Dan Schult <dschult@colgate.edu>
|
| |
|
|
|
|
|
|
|
|
|
| |
* adds implementation of SNAP summarization algorithm
Thanks to dschult and rossbar for many much-needed recommendations for refining and optimizing the implementation
* Seed layouts for snap gallery examples.
Make sure the layouts are reproducible.
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
| |
|
|
|
|
|
| |
* Collect graphviz examples
* Sort examples by file name
* Improve graphviz gallery layout
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add external directory
* Move Javascript and JIT
* Remove application section
* Consolidate and move pygraphviz examples
* Clean up imports
* Reorder
* Fix subclass examples
|
| | |
|
| | |
|
| |
|
|
|
| |
* Update sphinx
* Cleanup sphinx warnings
|
| |
|
|
|
|
|
| |
* adds dedensification function, documentation, and examples
* rm unnecessary lines.
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
| |
|
|
|
|
|
| |
* Fix axis layout and padding for decomposition fig.
* More vertical aspect ratio.
* Remove unnecessary imports.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Seed layout basic/plot_properties.
* Seed simple path example
* Switch node cmap example to deterministic layout
* Seed layout in edge_colormap example
* Seed graph gen and layout in ego_graph example
* Seed random_geometric_graph example.
* Seed layout and pad axes w/ tight_layout.
* Seed and modify colors for directed example.
* Seeded graph gen and layout
* Switch to plasma colormap for better contrast on light bgnd
* Seed layout and tight_layout sampson example
* Seed and pad axes for unix email example
* Seed graph gen and layout for erdos_renyi example
* Seed graph gen and layout of degree_seq example
* Seed layout of football example
* Seed layout for krackhardt centrality example
* Seed davis club example
* Seed and use np alias in blockmodel example
* Seed beam search example.
* Seed random graph in eigenval example
* Seed heavy metal layout and pad axes
* Use deterministic layout for rgraph example
* Seed layout for printgraph example.
* Add seed to antigraph example.
* Use single rng seed value.
For examples with multiple uses of rng's (e.g. one for
generating a random graph, and another for layout) use a
single integer value as the seed for both.
* Remove unnecessary submodule paths from examples.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Initial commit.
* Fixed PEP 8 issues.
* Fixed more PEP 8 issues.
* Added type to sepset-nodes.
* Moved file to networkx/algorithms/tree, changed name of module to avoid namespace collision, added entry to doc system, changed deepcopy to list, removed check for None, shifted to G.is_directed(), added example.
* Removed example code.
* Removed unused import statement.
* Moved notes section.
* Fixed PEP 8 issues and removed old file.
* Fixed PEP 8 issues.
* Formatting with Black, added docstring to example and removed license information.
* Added name to name of contributors.
* Ran black
i.e.,
black networkx/algorithms/tree/tests/test_junction_tree_algorithm.py
* Updated explanation of junction trees, removed 'Graph' from unsupported classes.
* DOC: tweaks to docstring.
* Changed naming and updated docstring/code according to suggestions.
* Removed old files.
* Updated doc and init.
* Minor tweaks in docs and import structure
* Improve example
Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
Co-authored-by: Dan Schult <dschult@colgate.edu>
|
| |
|
|
|
|
|
| |
* Handle kwds explicitly in draw_networkx; fix kwds in examples
* fix PEP8 issues
Fixes #4020
|
| | |
|
| | |
|
| |
|
|
| |
It only runs scripts starting w/ plot_ by default.
|
| | |
|
| | |
|
| | |
|
| |
|
| |
Changes due to PR #2604
|
| |
|
|
| |
See PR #1886 and 9b7194788.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Fix unix_email and plot more examples
* Fix doctest
* Fix more examples
* Fix AntiGraph.degree generator error in examples
* Style/consistency changes and plot more examples
|
| |
|
|
|
|
|
|
| |
* Silence some sphinx warnings
* Update structure of documentation
See https://github.com/networkx/networkx/pull/2054
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Ensure valid rst file
* Edit text
* Update README and package docstring
* Add myself as a contributor
* Update gitwash
* Fix warnings/errors except citations/footnotes
* Remove old note about 3.0 incompatibility
* Remove stale ref to gh-pages
* Create top-level tools directory (standard practice)
* Use sphinx-gallery extension for examples
* Sphinx-gallery generates images for `plot_` examples
* Comply with pep8
* Don't save figures
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
This commit adds the generalization of breadth-first search known as
"beam search", in which only a subset of "good" neighbors are enqueued
when visiting a new node. This refactors the breadth-first search
functions to call a generic BFS helper function that allows an arbitrary
successors function.
This also adds an example application, which is the progressive widening
beam search.
|
| |
|
|
|
| |
Also adjusts examples and docs
Cherry-pick from #1930
|
| |
|
|
|
|
| |
Mostly doc string tweaks for graph classes, tutorial.
Fixes of blockmodel and antigraph examples
api_changes and release_2.0 updates.
|
| | |
|
| |
|
|
| |
Keep track of ordering in davis club and show how to use one-mode projections.
|
| | |
|
| |
|
|
| |
Addresses #530
|
| |
|
|
|
|
|
|
| |
Adjust example.
Addresses #530
--HG--
rename : examples/algorithms/rcm.py => networkx/utils/rcm.py
|
| |
|
|
| |
Fixes #530
|
| | |
|