Register a vertex inserted during the current change.
(&mut self, node: GraphNode<NodeId>)
| 493 | |
| 494 | /// Register a vertex inserted during the current change. |
| 495 | pub fn register_current_vertex(&mut self, node: GraphNode<NodeId>) { |
| 496 | self.current_vertices_by_start |
| 497 | .insert(node.start_pos(), node); |
| 498 | self.current_vertices_by_end.insert(node.end_pos(), node); |
| 499 | } |
| 500 | |
| 501 | /// Resolve a previously inserted current-change vertex from workspace state. |
| 502 | pub fn get_current_vertex( |
no test coverage detected