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

Function clampDisplaySettings

graph-ui/src/lib/density.ts:112–120  ·  view source on GitHub ↗
(
  raw: Partial<DisplaySettings>,
)

Source from the content-addressed store, hash-verified

110}
111
112export function clampDisplaySettings(
113 raw: Partial<DisplaySettings>,
114): DisplaySettings {
115 return {
116 edgeBrightness: clampSetting("edgeBrightness", raw.edgeBrightness),
117 nodeGlow: clampSetting("nodeGlow", raw.nodeGlow),
118 bloom: clampSetting("bloom", raw.bloom),
119 };
120}
121
122export function loadDisplaySettings(): DisplaySettings {
123 try {

Callers 2

density.test.tsFile · 0.90
loadDisplaySettingsFunction · 0.85

Calls 1

clampSettingFunction · 0.85

Tested by

no test coverage detected