* Get complexity metrics for a node * * @param nodeId - ID of the node * @returns Object containing various complexity metrics
(nodeId: string)
| 3349 | * @returns Object containing various complexity metrics |
| 3350 | */ |
| 3351 | getNodeMetrics(nodeId: string): { |
| 3352 | incomingEdgeCount: number; |
| 3353 | outgoingEdgeCount: number; |
| 3354 | callCount: number; |
| 3355 | callerCount: number; |
| 3356 | childCount: number; |
| 3357 | depth: number; |
| 3358 | } { |
| 3359 | return this.graphManager.getNodeMetrics(nodeId); |
| 3360 | } |
| 3361 | |
| 3362 | // =========================================================================== |
| 3363 | // Context Building |