Compare commits

..

1 Commits

Author SHA1 Message Date
Claude Bot
110f5dc92e docs: rewrite README to describe ConceptSketch project (closes #4) 2026-03-23 14:49:47 +00:00

View File

@@ -264,7 +264,12 @@ const Graph = forwardRef<GraphHandle, { setGraphPath: React.Dispatch<React.SetSt
title: selectedNodeName,
key: pathSegmentId,
onClick: () => {
setGraphsPath(prev => prev.slice(0, prev.findIndex(p => p.key === pathSegmentId) + 1));
const index = graphsPath.findIndex(p => p.key === pathSegmentId);
setGraphsPath(prev => {
prev.splice(index + 1);
return [...prev];
});
selectGraphId(pathSegmentId);
}
} as BreadcrumbItemType;