Vue3 Org Chart is a tree diagram that visualizes the structure of an organization and the relationships and relatives. It is a Vue 3 component.
npm install vue3-org-chart

Demo : https://vue3orgchart.playcode.io
``bash`
npm i vue3-org-chart
js
import { createApp } from 'vue'
import App from './App.vue'import { Vue3OrgChartPlugin } from 'vue3-org-chart'
import 'vue3-org-chart/dist/style.css'
const app = createApp(App)
app.use(Vue3OrgChartPlugin)
app.mount('#app')
``javascript
// alternatively, you can import the component directly
// to use component, Vue3OrgChart instead of Vue3OrgChartPlugin
`
#### Vue Template
for more detailed example, please check the examples folder
`vue
{{item.name}}
`#### Styling
You have full control over node elements, In addition to that there are some css variables for lines and container height or node spacing..
`css
:root {
--vue3-org-chart-container-height: 70vh;
--vue3-org-chart-line-top: .5rem;
--vue3-org-chart-line-bottom: .5rem;
--vue3-org-chart-node-space-x: .5rem;
--vue3-org-chart-line-color: blue;
}
``