Check if an edge is marked as deleted.
(&self, from: &Position<NodeId>, to: &Position<NodeId>)
| 546 | |
| 547 | /// Check if an edge is marked as deleted. |
| 548 | pub fn is_edge_deleted(&self, from: &Position<NodeId>, to: &Position<NodeId>) -> bool { |
| 549 | self.deleted_edges.contains(&(*from, *to)) |
| 550 | } |
| 551 | |
| 552 | /// Get all pending edges. |
| 553 | pub fn pending_edges(&self) -> &[PendingEdge] { |