* 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)
| 3147 | * @returns Subgraph containing the call graph |
| 3148 | */ |
| 3149 | getCallGraph(nodeId: string, depth: number = 2): Subgraph { |
| 3150 | return this.traverser.getCallGraph(nodeId, depth); |
| 3151 | } |
| 3152 | |
| 3153 | /** |
| 3154 | * Get the type hierarchy for a class/interface |
no outgoing calls
no test coverage detected