* Get complexity metrics for a node * * @param nodeId - ID of the node * @returns Object containing various complexity metrics
(nodeId: string)
| 3319 | * @returns Object containing various complexity metrics |
| 3320 | */ |
| 3321 | getNodeMetrics(nodeId: string): { |
| 3322 | incomingEdgeCount: number; |
| 3323 | outgoingEdgeCount: number; |
| 3324 | callCount: number; |
| 3325 | callerCount: number; |
| 3326 | childCount: number; |
| 3327 | depth: number; |
| 3328 | } { |
| 3329 | return this.graphManager.getNodeMetrics(nodeId); |
| 3330 | } |
| 3331 | |
| 3332 | // =========================================================================== |
| 3333 | // Context Building |