Title: [pyos][io] Conversion to NetworkX drops isolated vertices · Issue #475 · python-graphblas/python-graphblas · GitHub
Open Graph Title: [pyos][io] Conversion to NetworkX drops isolated vertices · Issue #475 · python-graphblas/python-graphblas
X Title: [pyos][io] Conversion to NetworkX drops isolated vertices · Issue #475 · python-graphblas/python-graphblas
Description: When converting to NetworkX, isolated vertices are dropped. Example: M=gb.Matrix.from_edgelist([(0,1),(3,0)],nrows=5,ncols=5) G=gb.io.to_networkx(M) G.nodes gives NodeView((0, 1, 3)). Nodes 2 and 4 are both missing. This issue also affec...
Open Graph Description: When converting to NetworkX, isolated vertices are dropped. Example: M=gb.Matrix.from_edgelist([(0,1),(3,0)],nrows=5,ncols=5) G=gb.io.to_networkx(M) G.nodes gives NodeView((0, 1, 3)). Nodes 2 and 4...
X Description: When converting to NetworkX, isolated vertices are dropped. Example: M=gb.Matrix.from_edgelist([(0,1),(3,0)],nrows=5,ncols=5) G=gb.io.to_networkx(M) G.nodes gives NodeView((0, 1, 3)). Nodes 2 and 4...
Opengraph URL: https://github.com/python-graphblas/python-graphblas/issues/475
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[pyos][io] Conversion to NetworkX drops isolated vertices","articleBody":"When converting to NetworkX, isolated vertices are dropped. Example:\r\n\r\n```python\r\nM=gb.Matrix.from_edgelist([(0,1),(3,0)],nrows=5,ncols=5)\r\nG=gb.io.to_networkx(M)\r\n```\r\n\r\n`G.nodes` gives `NodeView((0, 1, 3))`. Nodes `2` and `4` are both missing. This issue also affects `viz.draw()`. I do understand that it is one way to handle non-square matrices ...\r\n\r\nIs this intentional or a bug? It is at least very surprising, and if intentional, it should be clearly documented.\r\n\r\nPart of: https://github.com/pyOpenSci/software-submission/issues/81\r\n","author":{"url":"https://github.com/szhorvat","@type":"Person","name":"szhorvat"},"datePublished":"2023-06-25T22:53:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/475/python-graphblas/issues/475"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9863f033-310f-8d78-eb26-6d520393d063 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DD38:10417E:2AE2C7:37C831:698E9FAF |
| html-safe-nonce | 2c6fc30ac2a21ec9a7a20081b7e1bd3ac702f1a3b052e417bd2d0ac1bb3686c5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDM4OjEwNDE3RToyQUUyQzc6MzdDODMxOjY5OEU5RkFGIiwidmlzaXRvcl9pZCI6IjcxNjEyODAyNzc1Njk3NzM0ODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3386ed275f47f5a3c5031065ec6b50d571acd694bea7a99c6a3a4937dbe93345 |
| hovercard-subject-tag | issue:1773539134 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-graphblas/python-graphblas/475/issue_layout |
| twitter:image | https://opengraph.githubassets.com/986f10d2c4515f9de26791ac2a0ec7c326344e13a999f275f99deefbd97e74d7/python-graphblas/python-graphblas/issues/475 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/986f10d2c4515f9de26791ac2a0ec7c326344e13a999f275f99deefbd97e74d7/python-graphblas/python-graphblas/issues/475 |
| og:image:alt | When converting to NetworkX, isolated vertices are dropped. Example: M=gb.Matrix.from_edgelist([(0,1),(3,0)],nrows=5,ncols=5) G=gb.io.to_networkx(M) G.nodes gives NodeView((0, 1, 3)). Nodes 2 and 4... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | szhorvat |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba |
| turbo-cache-control | no-preview |
| go-import | github.com/python-graphblas/python-graphblas git https://github.com/python-graphblas/python-graphblas.git |
| octolytics-dimension-user_id | 103965858 |
| octolytics-dimension-user_login | python-graphblas |
| octolytics-dimension-repository_id | 221014819 |
| octolytics-dimension-repository_nwo | python-graphblas/python-graphblas |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 221014819 |
| octolytics-dimension-repository_network_root_nwo | python-graphblas/python-graphblas |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6b91a7e6e46287d26887e3fb7a4161657bab8f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width