I have nodes and edges in two different state objects ordered by when they are added in canvas in React-Flow-Renderer
. now I want to get JSON of nodes sorted by their position (Top-Left to bottom right). How can I achieve this without effecting performance?
Asked
Active
Viewed 204 times
0

Jamshaid Tariq
- 551
- 1
- 8
- 31