zm-tree-org
Version:
A simplified organization chart with components dependent on [Vue org tree](https://github.com/hukaibaihu/vue-org-tree). On this basis, part of the source code is optimized and modified. And it depends on [Vue draggable recoverable](https://github.com/ma
33 lines (21 loc) • 950 B
Markdown
A simplified organization chart with components dependent on [Vue org tree](https://github.com/hukaibaihu/vue-org-tree).
On this basis, part of the source code is optimized and modified. And it depends on [Vue draggable recoverable](https://github.com/mauricius/vue-draggable-resizable) to achieve the mouse drag to change the chart's position, and increase the mouse wheel zoom, node drag, and node editing and other functions
```
npm install zm-tree-org --save
yarn add zm-tree-org
```
```
import Vue from 'vue';
import ZmTreeOrg from 'zm-tree-org';
import "zm-tree-org/lib/zm-tree-org.css";
Vue.use(ZmTreeOrg);
```
[](https://www.npmjs.com/package/zm-tree-org).
Detailed instructions [click here](https://sangtian152.gitee.io/zm-tree-org/).