-
Notifications
You must be signed in to change notification settings - Fork 214
Add EdgeList and WeightedEdgeList return types #204
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
Changes from 5 commits
d27d8b8
fe00f51
d40a14f
7483ee4
ca8db71
44742c5
a8d71c9
407bd59
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -109,3 +109,5 @@ Return Iterator Types | |
|
|
||
| retworkx.BFSSuccessors | ||
| retworkx.NodeIndices | ||
| retworkx.EdgeList | ||
| retworkx.WeightedEdgeList | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -62,7 +62,7 @@ pub fn digraph_union( | |
| node_map.insert(node.index(), node_index); | ||
| } | ||
|
|
||
| for edge in b.weighted_edge_list(py) { | ||
| for edge in b.weighted_edge_list(py).edges { | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this the only place where
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, this is the only place |
||
| let source = edge.0; | ||
| let target = edge.1; | ||
| let edge_weight = edge.2; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.