MCPcopy Create free account
hub / github.com/codemix/graph / Graph.test.ts

File Graph.test.ts

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

Source from the content-addressed store, hash-verified

1import { test, expect } from "vitest";
2import { Graph, EmptyGraphSource, Vertex, Edge, defaultIdGenerator } from "../Graph.js";
3import { InMemoryGraphStorage } from "../GraphStorage.js";
4import {

Callers

nothing calls this directly

Calls 15

defaultIdGeneratorFunction · 0.85
makeStrictTypeFunction · 0.85
generateElementIdMethod · 0.80
hasPropertyMethod · 0.80
addVertexMethod · 0.65
addEdgeMethod · 0.65
getMethod · 0.65
getVertexByIdMethod · 0.65
getEdgeByIdMethod · 0.65
getVerticesMethod · 0.65
getEdgesMethod · 0.65
getIncomingEdgesMethod · 0.65

Tested by

no test coverage detected