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

Method getOutgoingEdges

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

Source from the content-addressed store, hash-verified

480 }
481
482 public *getOutgoingEdges(vertexId: ElementId): Iterable<Edge<TSchema, any>> {
483 for (const data of this.#config.storage.getOutgoingEdges(vertexId)) {
484 yield this.instantiateEdge<any>(data);
485 }
486 }
487
488 /**
489 * Add a vertex to the graph.

Callers

nothing calls this directly

Calls 2

instantiateEdgeMethod · 0.95
getOutgoingEdgesMethod · 0.65

Tested by

no test coverage detected