* 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)
| 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 |
no test coverage detected