Get all node IDs in the path
(&self)
| 131 | |
| 132 | /// Get all node IDs in the path |
| 133 | pub fn get_nodes(&self) -> Vec<&str> { |
| 134 | self.elements.iter().map(|e| e.node_id.as_str()).collect() |
| 135 | } |
| 136 | |
| 137 | /// Get all edge IDs in the path (non-None values) |
| 138 | pub fn get_edges(&self) -> Vec<&str> { |