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

Function nodeBoostScale

graph-ui/src/galaxy/density.ts:83–85  ·  view source on GitHub ↗
(nodeCount: number)

Source from the content-addressed store, hash-verified

81 * high-floored fade so large clouds don't merge into mush while moderate
82 * graphs keep their halos. */
83export function nodeBoostScale(nodeCount: number): number {
84 return 1 - fadeFactor(nodeCount) * (1 - NODE_BOOST_FLOOR);
85}
86
87/* Colour-aware glow multiplier applied to each node before bloom.
88 *

Callers 1

GraphSceneFunction · 0.90

Calls 1

fadeFactorFunction · 0.85

Tested by

no test coverage detected