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

Interface NodeCloudProps

graph-ui/src/components/NodeCloud.tsx:7–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5import { nodeGlowBoost } from "../lib/density";
6
7interface NodeCloudProps {
8 nodes: GraphNode[];
9 highlightedIds: Set<number> | null;
10 onHover: (node: GraphNode | null) => void;
11 onClick: (node: GraphNode) => void;
12 opacity?: number;
13 /* Multiplier on the per-node glow boost. 1 = full boost (sparse graphs),
14 * 0 = flat colors (dense graphs). Adaptive default × user setting. */
15 boost?: number;
16}
17
18/* Above this count instanced spheres stop paying off (vertex + matrix cost)
19 * and the cloud switches to point sprites — one position per node. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected