Drag_And_Drop
title: Drag and drop canvas shapes with vue layout: vue_page
To enable drag&drop for any node on canvas you just need to pass draggable: true
property into the component.
When you drag&drop shape it is recommended to save its position into you app store. You can use dragmove
and dragend
events for that purpose.