0

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?

Jamshaid Tariq
  • 551
  • 1
  • 8
  • 31

0 Answers0