Expand all nodes button
var chart = new OrgChart('#tree', {
toolbar: {
expandAll: true
}
});
Fit to screen option
var chart = new OrgChart('#tree', {
toolbar: {
fit: true
}
});
Switch to fullscreen button
var chart = new OrgChart('#tree', {
toolbar: {
fullScreen: true
}
});
Shows the layout options
var chart = new OrgChart('#tree', {
toolbar: {
layout: true
}
});
Zoom plus and minus buttons
var chart = new OrgChart('#tree', {
toolbar: {
zoom: true
}
});
Generated using TypeDoc
Toolbar buttons. Set to true if you'd like to show a button