diff --git a/understand-anything-plugin/packages/dashboard/src/components/CustomNode.tsx b/understand-anything-plugin/packages/dashboard/src/components/CustomNode.tsx index 295f71a..111d7a7 100644 --- a/understand-anything-plugin/packages/dashboard/src/components/CustomNode.tsx +++ b/understand-anything-plugin/packages/dashboard/src/components/CustomNode.tsx @@ -80,8 +80,7 @@ function CustomNodeComponent({ return (
data.onNodeClick?.(id)} > {/* Left color bar */} diff --git a/understand-anything-plugin/packages/dashboard/src/components/GraphView.tsx b/understand-anything-plugin/packages/dashboard/src/components/GraphView.tsx index 3c30f19..b1d6fe3 100644 --- a/understand-anything-plugin/packages/dashboard/src/components/GraphView.tsx +++ b/understand-anything-plugin/packages/dashboard/src/components/GraphView.tsx @@ -444,6 +444,11 @@ function GraphViewInner() { onNodeClick={onNodeClick} onPaneClick={onPaneClick} nodeTypes={nodeTypes} + nodesDraggable={false} + nodesConnectable={false} + edgesFocusable={false} + edgesReconnectable={false} + elementsSelectable={false} fitView fitViewOptions={{ minZoom: 0.01, padding: 0.1 }} minZoom={0.01}