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

Function openGroup

graph-ui/src/architecture/SpatialArchitecture.tsx:171–176  ·  view source on GitHub ↗
(node: SemanticNode)

Source from the content-addressed store, hash-verified

169 if (node?.graphNode) onSelect?.(node.graphNode);
170 };
171 const openGroup = (node: SemanticNode) => {
172 if (node.kind === 'area') changePlace({ areaPath: node.areaPath, filePath: undefined });
173 else if (node.kind === 'file') changePlace({ filePath: node.filePath });
174 if (view === 'routes' || view === 'hotspots') onView('overview');
175 setSelection(undefined);
176 };
177 const clearScope = () => { changePlace({ hotspotArea: undefined, areaPath: undefined, filePath: undefined }); setSelection(undefined); setResetKey(value => value + 1); onClearSelection?.(); };
178 const openSource = (node: GraphNode) => node.file_path && onNavigate(node.file_path, node.start_line, node.name);
179 const inspectMember = (node: GraphNode) => {

Callers 1

SpatialArchitectureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected