Check if an edge exists
(&self, edge_id: &str)
| 194 | |
| 195 | /// Check if an edge exists |
| 196 | pub fn has_edge(&self, edge_id: &str) -> Result<bool, GraphError> { |
| 197 | Ok(self.edges.contains_key(edge_id)) |
| 198 | } |
| 199 | |
| 200 | /// Get node count |
| 201 | pub fn node_count(&self) -> Result<usize, GraphError> { |
no test coverage detected