Skip to content

Commit

Permalink
disable interactivity
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Jun 17, 2024
1 parent bdd8141 commit a496104
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions graph-ui/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,20 @@ const NestedFlow = () => {
}, []);

return (
<ReactFlow nodes={nodes} edges={edges} onNodesChange={onNodesChange} onEdgesChange={onEdgesChange} onConnect={onConnect}
className="react-flow-subflows-example" fitView proOptions={proOptions}>
<ReactFlow
nodes={nodes}
edges={edges}
onNodesChange={onNodesChange}
onEdgesChange={onEdgesChange}
onConnect={onConnect}
className="react-flow-subflows-example"
fitView
proOptions={proOptions}
edgesUpdatable={false}
edgesFocusable={false}
nodesConnectable={false}
nodesFocusable={false}
>
<MiniMap />
<Controls />
</ReactFlow>
Expand Down

0 comments on commit a496104

Please sign in to comment.