Closed M4jx closed 1 year ago
Is there a way to center nodes in the canvas? Couldn't find anything related to this in the documentation.
Well, one could use a hook for window height/width in react to calculate the position of the node and call setPosition. Works well!
Is there a way to center nodes in the canvas? Couldn't find anything related to this in the documentation.