Clear all data from the graph
(&mut self)
| 373 | |
| 374 | /// Clear all data from the graph |
| 375 | pub fn clear(&mut self) { |
| 376 | self.nodes.clear(); |
| 377 | self.edges.clear(); |
| 378 | self.node_labels.clear(); |
| 379 | self.edge_labels.clear(); |
| 380 | self.adjacency_out.clear(); |
| 381 | self.adjacency_in.clear(); |
| 382 | } |
| 383 | } |
| 384 | |
| 385 | impl Default for GraphCache { |
nothing calls this directly
no outgoing calls
no test coverage detected