Immutable view of the adjacency list for the node at `idx`.
(&self, idx: usize)
| 78 | |
| 79 | /// Immutable view of the adjacency list for the node at `idx`. |
| 80 | pub fn neighbors(&self, idx: usize) -> &[u32] { |
| 81 | &self.nodes[idx].neighbors |
| 82 | } |
| 83 | |
| 84 | /// External ID of the node at `idx`. |
| 85 | pub fn external_id(&self, idx: usize) -> u64 { |
no outgoing calls