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

Method constructor

packages/graph/src/Graph.ts:314–319  ·  view source on GitHub ↗
(config: GraphConfig<TSchema>)

Source from the content-addressed store, hash-verified

312 #indexManager: IndexManager<TSchema>;
313
314 public constructor(config: GraphConfig<TSchema>) {
315 this.#config = config;
316 this.#vertexIdentities = new WeakMap();
317 this.#edgeIdentities = new WeakMap();
318 this.#indexManager = new IndexManager(config.schema);
319 }
320
321 /**
322 * The index manager for the graph.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected