Get edge count
(&self)
| 204 | |
| 205 | /// Get edge count |
| 206 | pub fn edge_count(&self) -> Result<usize, GraphError> { |
| 207 | Ok(self.edges.len()) |
| 208 | } |
| 209 | |
| 210 | /// Get all edges with a specific label |
| 211 | pub fn get_edges_by_label(&self, label: &str) -> Vec<&Edge> { |