
npm install vue3-organization-chart
npm install vue3-organization-chart --save
` Demos
`
Since codesandbox and jsfiddle can't get vue3 to work properly. I am currently developing a doc.
` 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
``š¤ Augustin Ribreau
* Website: https://augustinribreau.com/
* GitHub: @augustinribreau