fix
ci-front / build (push) Successful in 3m18s

This commit is contained in:
nikita
2026-04-05 10:14:53 +03:00
parent 915aa7018a
commit 255fe2eaf3
6 changed files with 368 additions and 60 deletions
-7
View File
@@ -51,12 +51,6 @@ export const Graph: React.FC<GraphProps> = ({
setContextMenu({ x: event.clientX, y: event.clientY, node, link: null });
};
const handleLinkRightClick = (link: GraphLink, event: MouseEvent) => {
event.preventDefault();
event.stopPropagation();
setContextMenu({ x: event.clientX, y: event.clientY, node: null, link });
};
if (!data || data.nodes.length === 0) {
return (
<div className="bg-gray-900 rounded-xl shadow-lg p-6">
@@ -86,7 +80,6 @@ export const Graph: React.FC<GraphProps> = ({
ref={fgRef}
data={data}
onNodeRightClick={handleNodeRightClick}
onLinkRightClick={handleLinkRightClick}
/>
<GraphContextMenu