dabeng / vue-orgchart

It's a simple and direct organization chart plugin. Anytime you want a tree-like chart, you can turn to OrgChart.
MIT License
290 stars 89 forks source link

Draggable #13

Open pvencill opened 5 years ago

pvencill commented 5 years ago

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 3 years ago

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

`

This works for me.

Ngoc2310 commented 2 years ago

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?