Skip to content

Commit

Permalink
perf: disable dragging
Browse files Browse the repository at this point in the history
  • Loading branch information
maui-r committed Nov 7, 2022
1 parent 51974c4 commit 949590a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/Graph/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ export const Graph3D = () => {
linkDirectionalArrowRelPos={1}
linkCurvature={0.25}
showNavInfo={false}
// dragging causes performance issues
// when there are many nodes
enableNodeDrag={false}
{...graphProps}
/>
</Grid>
Expand Down

0 comments on commit 949590a

Please sign in to comment.