* Get complexity metrics for a node * * @param nodeId - ID of the node * @returns Object containing various complexity metrics
(nodeId: string)
| 3332 | * @returns Object containing various complexity metrics |
| 3333 | */ |
| 3334 | getNodeMetrics(nodeId: string): { |
| 3335 | incomingEdgeCount: number; |
| 3336 | outgoingEdgeCount: number; |
| 3337 | callCount: number; |
| 3338 | callerCount: number; |
| 3339 | childCount: number; |
| 3340 | depth: number; |
| 3341 | } { |
| 3342 | return this.graphManager.getNodeMetrics(nodeId); |
| 3343 | } |
| 3344 | |
| 3345 | // =========================================================================== |
| 3346 | // Context Building |