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

Function clearSelection

graph-ui/src/architecture/ContainerMap.tsx:105–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103 }, [layout, topology, filter, focus, shownEdges]);
104 const servicesById = useMemo(() => new Map(topology?.services.map(service => [service.id, service]) ?? []), [topology]);
105 const clearSelection = () => { setSelected(undefined); setFocus(undefined); setSource(undefined); setResetKey(value => value + 1); onClearSelection?.(); };
106 const selectService = (id: string) => { setSelected({ key, node: id }); setMemberLimit(12); setSource(undefined); };
107 const inspect = (evidence: ServiceEvidence) => {
108 if (evidence.project === project) { onNavigate(evidence.path, evidence.line); return; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected