This example shows how to implement a custom node that can be resized and rotated using the NodeResizer component. It can be used as a starting point for building flow chart editors or diagrams where users can configure the size and rotation of the elements.
NodeResizer component is not part of the
reactflow package. You need to install it seperately and you need reactflow >= v11.3.3 for this to work.