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

Method getIncomingEdges

packages/graph/src/Graph.ts:476–480  ·  view source on GitHub ↗
(vertexId: ElementId)

Source from the content-addressed store, hash-verified

474 }
475
476 public *getIncomingEdges(vertexId: ElementId): Iterable<Edge<TSchema, any>> {
477 for (const data of this.#config.storage.getIncomingEdges(vertexId)) {
478 yield this.instantiateEdge<any>(data);
479 }
480 }
481
482 public *getOutgoingEdges(vertexId: ElementId): Iterable<Edge<TSchema, any>> {
483 for (const data of this.#config.storage.getOutgoingEdges(vertexId)) {

Callers

nothing calls this directly

Calls 2

instantiateEdgeMethod · 0.95
getIncomingEdgesMethod · 0.65

Tested by

no test coverage detected