dabeng/vue-orgchart

Draggable

pvencill opened this issue · 2 comments

The underlying OrgChart object (looking at your ES6 examples) seems to support some basic ability to drag nodes to reorder the org chart, but I don't see how to do that in the Vue version. is this supported?

ewitz commented

<vo-edit style="background: #fff" :data="ds" nodeContent="title" :exportButton="true" :toggleCollapse="false" :draggable="true" exportButtonName="Save ScreenShot" exportFilename="Orgchart" > </vo-edit>

This works for me.

I try this too but it seems not work with vue 3. I've also tried this https://www.npmjs.com/package/vue3-organization-chart, it works with vue 3 but it doesn't have as much feature like the one you sent. Is there any solution?