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

Function showInspectorGraph

graph-ui/src/App.tsx:4562–4575  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4560 setBrowserAiOpen(true);
4561 };
4562 const showInspectorGraph = (): void => {
4563 const node = layout?.nodes.find(entry => inspector.symbol?.qualifiedName
4564 ? entry.qualified_name === inspector.symbol.qualifiedName
4565 : entry.file_path === inspector.filePath && (entry.label === 'File' || entry.label === 'Module'));
4566 if (node) {
4567 setGalaxySelection(node);
4568 setGalaxySelectionProject(project);
4569 changeWorkspace('galaxy');
4570 } else {
4571 setGalaxyOn(true);
4572 if (inspector.symbol) followTarget(inspector.symbol);
4573 else if (inspector.filePath) openFile(inspector.filePath);
4574 }
4575 };
4576 const selectedCode = <SelectedCodePanel {...inspector}
4577 selectionContext={<SelectionContextPanel graph={evidenceGraph}
4578 selected={inspector.symbol ? inspectorNode : undefined} path={inspector.filePath}

Callers

nothing calls this directly

Calls 1

changeWorkspaceFunction · 0.85

Tested by

no test coverage detected