Stop user from moving the whole graph? #304
Unanswered
robbennett1979
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Maybe this is what you are looking for? https://github.com/reaviz/reagraph/blob/master/src/GraphScene.tsx#L151 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been developing an app using reagraph and extending the nodes using fibre and drei.
I want to stop the user from being able to move the entire graph.
onCanvasClick exists, but onCanvasDrag or onCanvasPointerDown doesn't. If I can't find a way, I'll fork and update cameracontrols.
Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions