Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/chartdb/chartdb
/ Graph
Interface
Graph
src/lib/graph.ts:1–4 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
export
interface
Graph<T> {
2
graph: Map<T, T[]>;
3
lastUpdated: number;
4
}
5
6
export
const
createGraph = <T>(): Graph<T> => ({
7
graph:
new
Map(),
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected