dabeng / OrgChart

It's a simple and direct organization chart plugin. Anytime you want a tree-like chart, you can turn to OrgChart.
MIT License
2.83k stars 767 forks source link

Partner Feature #711

Open pietsteph opened 1 year ago

pietsteph commented 1 year ago

For example I have this kind of data source

var datasource = {
    id: 1,
    name: 'Jane',
    title: 'General Manager',
    children: [
        { id: 2, name: 'Michael', title: 'HR' },
        {
            id: 3,
            name: 'Niko',
            title: 'IT Lead',
            partner: {
                id: 4,
                name: 'Putri',
                title: 'IT Consultant'
            },
            children: [
                { id: 5, name: 'Ollie', title: 'IT Officer' },
                { id: 6, name: 'Celine', title: 'IT Staff' }
            ]
        }
    ]
};

I want to show the "partner" on the left or right while the children is below. Is it possible to add a feature like this?