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

Function loadDisplaySettings

graph-ui/src/lib/density.ts:122–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120}
121
122export function loadDisplaySettings(): DisplaySettings {
123 try {
124 const raw = localStorage.getItem(DISPLAY_STORAGE_KEY);
125 if (raw) return clampDisplaySettings(JSON.parse(raw));
126 } catch { /* ignore */ }
127 return DEFAULT_DISPLAY_SETTINGS;
128}
129
130export function saveDisplaySettings(settings: DisplaySettings) {
131 try {

Callers 1

GraphTabFunction · 0.90

Calls 1

clampDisplaySettingsFunction · 0.85

Tested by

no test coverage detected