(node: any)
| 332 | } |
| 333 | |
| 334 | function summarizeNode(node: any): string { |
| 335 | const ref = typeof node?.ref === 'string' ? node.ref : '(no-ref)'; |
| 336 | const type = typeof node?.type === 'string' ? node.type : '(no-type)'; |
| 337 | const label = |
| 338 | typeof node?.label === 'string' && node.label.length > 0 ? node.label : '(no-label)'; |
| 339 | const rect = node?.rect ? JSON.stringify(node.rect) : '(no-bounds)'; |
| 340 | return `${ref} type=${type} label=${JSON.stringify(label)} rect=${rect}`; |
| 341 | } |
no outgoing calls
no test coverage detected