(node: SemanticNode)
| 169 | if (node?.graphNode) onSelect?.(node.graphNode); |
| 170 | }; |
| 171 | const openGroup = (node: SemanticNode) => { |
| 172 | if (node.kind === 'area') changePlace({ areaPath: node.areaPath, filePath: undefined }); |
| 173 | else if (node.kind === 'file') changePlace({ filePath: node.filePath }); |
| 174 | if (view === 'routes' || view === 'hotspots') onView('overview'); |
| 175 | setSelection(undefined); |
| 176 | }; |
| 177 | const clearScope = () => { changePlace({ hotspotArea: undefined, areaPath: undefined, filePath: undefined }); setSelection(undefined); setResetKey(value => value + 1); onClearSelection?.(); }; |
| 178 | const openSource = (node: GraphNode) => node.file_path && onNavigate(node.file_path, node.start_line, node.name); |
| 179 | const inspectMember = (node: GraphNode) => { |
no outgoing calls
no test coverage detected