* Get the call graph for a function * * Returns both callers (functions that call this function) and * callees (functions called by this function) up to the specified depth. * * @param nodeId - ID of the function/method node * @param depth - Maximum depth in each direction (default
(nodeId: string, depth: number = 2)
| 1579 | * @returns Subgraph containing the call graph |
| 1580 | */ |
| 1581 | getCallGraph(nodeId: string, depth: number = 2): Subgraph { |
| 1582 | return this.traverser.getCallGraph(nodeId, depth); |
| 1583 | } |
| 1584 | |
| 1585 | /** |
| 1586 | * Get the type hierarchy for a class/interface |
no outgoing calls
no test coverage detected