NodeHandle
The NodeHandle type is used to define a handle for a node if server-side rendering is used. On the server, React Flow can’t measure DOM nodes, so it’s necessary to define the handle position dimensions.
Type for the handles of a node
width?: numberheight?: numberid?: string | nullx: numbery: numberposition: Positiontype: 'source' | 'target'