MCPcopy Create free account
hub / github.com/codemix/graph / getEdgeById

Method getEdgeById

packages/graph/src/GraphStorage.ts:199–201  ·  view source on GitHub ↗
(id: ElementId)

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected