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

added edge labels in weighted graph #5521

Merged
merged 11 commits into from
Apr 12, 2022
Merged

added edge labels in weighted graph #5521

merged 11 commits into from
Apr 12, 2022

Conversation

NikitaSharma1
Copy link
Contributor

I added edge weight labels in weighted graph because I thought that's an important part of a weighted graph.

Copy link
Member

@dschult dschult left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me!

@NikitaSharma1
Copy link
Contributor Author

@dschult can you please have a look at this as well pull request?

@MridulS MridulS merged commit b797683 into networkx:main Apr 12, 2022
@MridulS
Copy link
Member

MridulS commented Apr 12, 2022

Thanks @NikitaSharma1!

@jarrodmillman jarrodmillman added this to the networkx-2.8.1 milestone Apr 14, 2022
dtekinoglu pushed a commit to dtekinoglu/networkx that referenced this pull request Apr 18, 2022
* examples

* examples

* examples

* Example changed

* improved styling

* revised

* edge labels

* improved styling

* spacing

* error testing
dschult pushed a commit that referenced this pull request Apr 19, 2022
* Adding more examples of to_numpy_array method's usage

* Run black for auto-formatting

* Fixing a minor typo in the example

* Fixing a minor typo in the example

* Converting nonedge value to float in the example

* Changed nonedge to -1. & update example to match PEP 8

* Improve docstring for bethe_hessian_matrix (#5458)

Fix reference linking, improve spacing/docstring formatting,
improve example.

Co-authored-by: Mridul Seth <mail@mriduls.com>
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
Co-authored-by: Mehmet Müjde <mehmet.muejde@me.com>

* Add notes about NumPy/SciPy integration to NX 2->3 migration guide (#5505)

* Add skeleton about numpy/scipy to migration guide.

* Update release timeline.

* Comment out todo and touchup text on random.

* Finish recarray/structured dtypes section.

* Add blurb about pagerank.

* Add section about matrix->array.

* Reorganize and link.

* Fix rst.

* Fix formatting

Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>

* Run black on docs (#5513)

* Run black on docs

* Remove redundant dependencies

* Format docs

* Finalize release notes

* Designate 2.8 release

* Fix release notes

* Bump release version

* Change default value of arrowstyle for undirected graphs (#5514)

* Change default value of arrowstyle for undirected graphs

* Update networkx/drawing/nx_pylab.py

Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>

Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>

* added edge labels in weighted graph (#5521)

* examples

* examples

* examples

* Example changed

* improved styling

* revised

* edge labels

* improved styling

* spacing

* error testing

* Add is_planar function

* Fix minor spacing error

* Fix minor space error

* Update networkx/algorithms/planarity.py

Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>

* Update networkx/algorithms/planarity.py

Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>

* Call check_planarity in is_planar

* Make suggested changes

* Add is_planar to autosummary

* Update planarity.py

* Fix typo

* Delete duplicate see also section

* Run black for styling

* Rst formatting updates.

* Fix docstring heading name.

* Minor wording change

Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>

Co-authored-by: Mridul Seth <mail@mriduls.com>
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
Co-authored-by: Mehmet Müjde <mehmet.muejde@me.com>
Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>
Co-authored-by: Nikita Sharma <70018371+NikitaSharma1@users.noreply.github.com>
MridulS pushed a commit to MridulS/networkx that referenced this pull request Feb 4, 2023
* examples

* examples

* examples

* Example changed

* improved styling

* revised

* edge labels

* improved styling

* spacing

* error testing
MridulS added a commit to MridulS/networkx that referenced this pull request Feb 4, 2023
* Adding more examples of to_numpy_array method's usage

* Run black for auto-formatting

* Fixing a minor typo in the example

* Fixing a minor typo in the example

* Converting nonedge value to float in the example

* Changed nonedge to -1. & update example to match PEP 8

* Improve docstring for bethe_hessian_matrix (networkx#5458)

Fix reference linking, improve spacing/docstring formatting,
improve example.

Co-authored-by: Mridul Seth <mail@mriduls.com>
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
Co-authored-by: Mehmet Müjde <mehmet.muejde@me.com>

* Add notes about NumPy/SciPy integration to NX 2->3 migration guide (networkx#5505)

* Add skeleton about numpy/scipy to migration guide.

* Update release timeline.

* Comment out todo and touchup text on random.

* Finish recarray/structured dtypes section.

* Add blurb about pagerank.

* Add section about matrix->array.

* Reorganize and link.

* Fix rst.

* Fix formatting

Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>

* Run black on docs (networkx#5513)

* Run black on docs

* Remove redundant dependencies

* Format docs

* Finalize release notes

* Designate 2.8 release

* Fix release notes

* Bump release version

* Change default value of arrowstyle for undirected graphs (networkx#5514)

* Change default value of arrowstyle for undirected graphs

* Update networkx/drawing/nx_pylab.py

Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>

Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>

* added edge labels in weighted graph (networkx#5521)

* examples

* examples

* examples

* Example changed

* improved styling

* revised

* edge labels

* improved styling

* spacing

* error testing

* Add is_planar function

* Fix minor spacing error

* Fix minor space error

* Update networkx/algorithms/planarity.py

Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>

* Update networkx/algorithms/planarity.py

Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>

* Call check_planarity in is_planar

* Make suggested changes

* Add is_planar to autosummary

* Update planarity.py

* Fix typo

* Delete duplicate see also section

* Run black for styling

* Rst formatting updates.

* Fix docstring heading name.

* Minor wording change

Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>

Co-authored-by: Mridul Seth <mail@mriduls.com>
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
Co-authored-by: Mehmet Müjde <mehmet.muejde@me.com>
Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>
Co-authored-by: Nikita Sharma <70018371+NikitaSharma1@users.noreply.github.com>
cvanelteren pushed a commit to cvanelteren/networkx that referenced this pull request Apr 22, 2024
* examples

* examples

* examples

* Example changed

* improved styling

* revised

* edge labels

* improved styling

* spacing

* error testing
cvanelteren pushed a commit to cvanelteren/networkx that referenced this pull request Apr 22, 2024
* Adding more examples of to_numpy_array method's usage

* Run black for auto-formatting

* Fixing a minor typo in the example

* Fixing a minor typo in the example

* Converting nonedge value to float in the example

* Changed nonedge to -1. & update example to match PEP 8

* Improve docstring for bethe_hessian_matrix (networkx#5458)

Fix reference linking, improve spacing/docstring formatting,
improve example.

Co-authored-by: Mridul Seth <mail@mriduls.com>
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
Co-authored-by: Mehmet Müjde <mehmet.muejde@me.com>

* Add notes about NumPy/SciPy integration to NX 2->3 migration guide (networkx#5505)

* Add skeleton about numpy/scipy to migration guide.

* Update release timeline.

* Comment out todo and touchup text on random.

* Finish recarray/structured dtypes section.

* Add blurb about pagerank.

* Add section about matrix->array.

* Reorganize and link.

* Fix rst.

* Fix formatting

Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>

* Run black on docs (networkx#5513)

* Run black on docs

* Remove redundant dependencies

* Format docs

* Finalize release notes

* Designate 2.8 release

* Fix release notes

* Bump release version

* Change default value of arrowstyle for undirected graphs (networkx#5514)

* Change default value of arrowstyle for undirected graphs

* Update networkx/drawing/nx_pylab.py

Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>

Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>

* added edge labels in weighted graph (networkx#5521)

* examples

* examples

* examples

* Example changed

* improved styling

* revised

* edge labels

* improved styling

* spacing

* error testing

* Add is_planar function

* Fix minor spacing error

* Fix minor space error

* Update networkx/algorithms/planarity.py

Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>

* Update networkx/algorithms/planarity.py

Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>

* Call check_planarity in is_planar

* Make suggested changes

* Add is_planar to autosummary

* Update planarity.py

* Fix typo

* Delete duplicate see also section

* Run black for styling

* Rst formatting updates.

* Fix docstring heading name.

* Minor wording change

Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>

Co-authored-by: Mridul Seth <mail@mriduls.com>
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
Co-authored-by: Mehmet Müjde <mehmet.muejde@me.com>
Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>
Co-authored-by: Nikita Sharma <70018371+NikitaSharma1@users.noreply.github.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.

None yet

4 participants