MCPcopy Index your code
hub / github.com/codemix/graph / addVertex

Method addVertex

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

* Add a vertex to the graph.

(
    label: TVertexLabel,
    properties: VertexProperties<TSchema, TVertexLabel>,
  )

Source from the content-addressed store, hash-verified

187 * Add a vertex to the graph.
188 */
189 addVertex<TVertexLabel extends VertexLabel<TSchema>>(
190 label: TVertexLabel,
191 properties: VertexProperties<TSchema, TVertexLabel>,
192 ): Vertex<TSchema, TVertexLabel>;

Callers 15

pushMethod · 0.65
handleAsyncTransactionFunction · 0.65
createDemoGraphFunction · 0.65
traverseMethod · 0.65
traverseMethod · 0.65
addVertexMethod · 0.65
indexes.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 1

createGraphFunction · 0.52