UNPKG

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
# zm-tree-org #### Description 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 #### Installation ``` npm install zm-tree-org --save # or yarn add zm-tree-org ``` #### Instructions ``` import Vue from 'vue'; import ZmTreeOrg from 'zm-tree-org'; import "zm-tree-org/lib/zm-tree-org.css"; Vue.use(ZmTreeOrg); ``` #### Latest version [![NPM version](https://img.shields.io/npm/v/zm-tree-org)](https://www.npmjs.com/package/zm-tree-org). #### Document Detailed instructions [click here](https://sangtian152.gitee.io/zm-tree-org/).