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

Function nodeBoostScale

graph-ui/src/lib/density.ts:48–50  ·  view source on GitHub ↗
(nodeCount: number)

Source from the content-addressed store, hash-verified

46 * high-floored fade so large clouds don't merge into mush while moderate
47 * graphs keep their halos. */
48export function nodeBoostScale(nodeCount: number): number {
49 return 1 - fadeFactor(nodeCount) * (1 - NODE_BOOST_FLOOR);
50}
51
52/* Colour-aware glow multiplier applied to each node before bloom.
53 *

Callers 2

GraphSceneFunction · 0.90
density.test.tsFile · 0.90

Calls 1

fadeFactorFunction · 0.85

Tested by

no test coverage detected