2D Graph over-rotates on node select
Closed this issue · 0 comments
ghsteff commented
Describe the bug
When selecting a node on a 2d graph that's been rotated 180 degrees, the graph rotates back 180
Steps to Reproduce the Bug or Issue
- Rotate a 2d graph 180 degrees
- Select a node
- See the graph unnecessarily rotate back 180
Expected behavior
I expect the graph to rotate to the closest flat angle on node select
Screenshots or Videos
Screen.Recording.2024-03-01.at.10.51.45.AM.mov
Platform
- Reagraph Version: 4.15.18
Your Example Website or App
No response
Additional context
No response