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

Method addVertex

packages/graph/src/GraphStorage.ts:87–87  ·  view source on GitHub ↗

* Add a vertex to the graph. * @param vertex The vertex to add.

(vertex: StoredVertex)

Source from the content-addressed store, hash-verified

85 * @param vertex The vertex to add.
86 */
87 addVertex(vertex: StoredVertex): void;
88
89 /**
90 * Add an edge to the graph.

Callers

nothing calls this directly

Implementers 2

InMemoryGraphStoragepackages/graph/src/GraphStorage.ts
YGraphStoragepackages/y-graph-storage/src/YGraphSto

Calls

no outgoing calls

Tested by

no test coverage detected