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

Method deleteVertex

packages/graph/src/Graph.ts:211–211  ·  view source on GitHub ↗

* Delete a vertex from the graph.

(id: ElementId | Vertex<TSchema, any>)

Source from the content-addressed store, hash-verified

209 * Delete a vertex from the graph.
210 */
211 deleteVertex(id: ElementId | Vertex<TSchema, any>): void;
212
213 /**
214 * Delete an edge from the graph.

Callers 7

handleAsyncTransactionFunction · 0.65
traverseMethod · 0.65
deleteVertexMethod · 0.65
indexes.test.tsFile · 0.65
Graph.test.tsFile · 0.65

Implementers 3

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

Calls

no outgoing calls

Tested by

no test coverage detected