Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/graph/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1034,11 +1034,11 @@ where
}

/**
Returns the number of nodes in the graph.
Returns the number of edges in the graph.
```
use graphrs::{generators};
let graph = generators::social::karate_club_graph();
assert_eq!(graph.number_of_nodes(), 34);
assert_eq!(graph.number_of_edges(), 34);
```
*/
pub fn number_of_edges(&self) -> usize {
Expand Down
Loading