MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / formatGraphLimitNotice

Function formatGraphLimitNotice

graph-ui/src/components/GraphTab.tsx:61–64  ·  view source on GitHub ↗
(data: GraphData | null)

Source from the content-addressed store, hash-verified

59}
60
61export 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
66export function GraphTab({ project }: GraphTabProps) {
67 const { data, loading, error, progress, fetchOverview } = useGraphData();

Callers 2

GraphTab.test.tsFile · 0.90
GraphTabFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected