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

Function bloomIntensityScale

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

Source from the content-addressed store, hash-verified

39}
40
41export function bloomIntensityScale(nodeCount: number): number {
42 return 1 - fadeFactor(nodeCount) * (1 - BLOOM_FLOOR);
43}
44
45/* Per-node glow boost: full up to the reference count, then a gentle,
46 * high-floored fade so large clouds don't merge into mush while moderate

Callers 2

GraphSceneFunction · 0.90
density.test.tsFile · 0.90

Calls 1

fadeFactorFunction · 0.85

Tested by

no test coverage detected