(data: GraphData | null)
| 59 | } |
| 60 | |
| 61 | export function formatGraphLimitNotice(data: GraphData | null): string | null { |
| 62 | if (!data || data.total_nodes <= data.nodes.length) return null; |
| 63 | return `Showing ${data.nodes.length.toLocaleString("en-US")} of ${data.total_nodes.toLocaleString("en-US")} nodes (${data.edges.length.toLocaleString("en-US")} edges). Raise the node budget or use filters.`; |
| 64 | } |
| 65 | |
| 66 | export function GraphTab({ project }: GraphTabProps) { |
| 67 | const { data, loading, error, progress, fetchOverview } = useGraphData(); |
no outgoing calls
no test coverage detected