Drag and drop canvas shapes
To enable drag&drop for any node on the canvas you just need to pass the draggable
property into the component.
When you drag&drop a shape it is recommended to save its position into your app store. You can use the onDragMove
and onDragEnd
events for that purpose.