filterBy: { id: { '1': { checked: true, text: 'My text 1'}, '2': { checked: false, text: 'My text 2'}, }, name: { 'name 2': { checked: false} }, title: {} },
Code demo: https://code.balkan.app/org-chart-js/filter-with-subtree#JS