(id: ElementId)
| 169 | } |
| 170 | |
| 171 | public getVertexById(id: ElementId): StoredVertex | undefined { |
| 172 | return this.#vertices.get(id); |
| 173 | } |
| 174 | |
| 175 | public *getVertices(labels: string[]): Iterable<StoredVertex> { |
| 176 | // Snapshot keys to prevent infinite loops when vertices are added during iteration. |