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

Method getVertices

packages/graph/src/Graph.ts:252–256  ·  view source on GitHub ↗
(
    ..._labels: TVertexLabel[]
  )

Source from the content-addressed store, hash-verified

250 throw new Error("Cannot get vertex by id from an empty graph source.");
251 }
252 public getVertices<TVertexLabel extends VertexLabel<TSchema>>(
253 ..._labels: TVertexLabel[]
254 ): Iterable<Vertex<TSchema, TVertexLabel>> {
255 throw new Error("Cannot get vertices from an empty graph source.");
256 }
257 public getEdges<TEdgeLabel extends EdgeLabel<TSchema>>(
258 ..._labels: TEdgeLabel[]
259 ): Iterable<Edge<TSchema, TEdgeLabel>> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected