MCPcopy
hub / github.com/colbymchenry/codegraph / traverse

Method traverse

src/index.ts:986–988  ·  view source on GitHub ↗

* Traverse the graph from a starting node * * Uses breadth-first search by default. Supports filtering by edge types, * node types, and traversal direction. * * @param startId - Starting node ID * @param options - Traversal options * @returns Subgraph containing traversed nodes

(startId: string, options?: TraversalOptions)

Source from the content-addressed store, hash-verified

984 * @returns Subgraph containing traversed nodes and edges
985 */
986 traverse(startId: string, options?: TraversalOptions): Subgraph {
987 return this.traverser.traverseBFS(startId, options);
988 }
989
990 /**
991 * Get the call graph for a function

Callers 3

graph.test.tsFile · 0.80
foundation.test.tsFile · 0.80

Calls 1

traverseBFSMethod · 0.80

Tested by

no test coverage detected