| 5 | import { nodeGlowBoost } from "../lib/density"; |
| 6 | |
| 7 | interface 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. */ |
nothing calls this directly
no outgoing calls
no test coverage detected