(id: ElementId)
| 197 | } |
| 198 | |
| 199 | public getEdgeById(id: ElementId): StoredEdge | undefined { |
| 200 | return this.#edges.get(id); |
| 201 | } |
| 202 | |
| 203 | public *getEdges(labels: string[]): Iterable<StoredEdge> { |
| 204 | // Snapshot keys to prevent infinite loops when edges are added during iteration. |