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

Method traverse

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

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