MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / traverse

Method traverse

src/index.ts:1568–1570  ·  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

1566 * @returns Subgraph containing traversed nodes and edges
1567 */
1568 traverse(startId: string, options?: TraversalOptions): Subgraph {
1569 return this.traverser.traverseBFS(startId, options);
1570 }
1571
1572 /**
1573 * 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