# vue-orgchart
**Repository Path**: Trouble--maker_admin/vue-orgchart
## Basic Information
- **Project Name**: vue-orgchart
- **Description**: No description available
- **Primary Language**: 其他
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-07-21
- **Last Updated**: 2025-07-21
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README

# [jQuery Version](https://github.com/dabeng/OrgChart)
# [ES6 Version](http://github.com/dabeng/OrgChart.js)
# [Web Components Version](http://github.com/dabeng/OrgChart-Webcomponents)
# [Angular Version -- the most space-saving solution](https://github.com/dabeng/ng-orgchart)
# [React Version](https://github.com/dabeng/react-orgchart)
## Foreword
- First of all, thanks a lot for [wesnolte](https://github.com/wesnolte)'s great work:blush: -- [jOrgChart](https://github.com/wesnolte/jOrgChart). The thought that using nested tables to build out the tree-like orgonization chart is amazing. This idea is more simple and direct than its counterparts based on svg
- Unfortunately, it's long time not to see the update of jOrgChart. on the other hand, I got some interesting ideas to add, so I choose to create a new repo.
## Features
- For now, just static organization chart
# Installation
```
npm install vue-organization-chart -S
```
# [Demos](https://codesandbox.io/dashboard/sandboxes/Vue%20OrgChart)
# Usage
```html
```
# Attributes
Name | Type | Required | Default | Description |
datasource | json | yes | | datasource usded to build out structure of orgchart. It could be a json object. |
pan | boolean | no | false | Users could pan the orgchart by mouse drag&drop if they enable this attribute. |
zoom | boolean | no | false | Users could zoomin/zoomout the orgchart by mouse wheel if they enable this attribute. |
zoomin-limit | number | no | 7 | Users are allowed to set a zoom-in limit. |
zoomout-limit | number | no | 0.5 | Users are allowed to set a zoom-out limit. |
# Events
Name | Parameters | Description |
node-click | node data | triggers when user clicks the node. |
# Scoped Slots
```html
```