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

Function selectStep

graph-ui/src/architecture/BehaviorJourney.tsx:161–166  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

159 if (!path && edge) changePlace({ page: Math.max(0, Math.floor((allNodes.findIndex(node => node.id === edge.target) - 1) / 4)) });
160 }
161 function selectStep(index: number) {
162 setOverview(false);
163 const node = allNodes[index];
164 if (!node || !path) return;
165 changePlace({ step: index }); setSelection({ node: node.id }); if (node.symbol) onSelectSymbol(node.symbol);
166 }
167 function follow(id: string) {
168 const operation = allNodes.find(node => node.id === id)?.symbol;
169 if (operation && operation.id !== entryId) request(operation, undefined, from ?? entry);

Callers 1

BehaviorJourneyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected