Closed Ullas-A-2000 closed 2 weeks ago
im using a custom template in balkan ive set custom node sizes and styles below is a small example
if(rotateBtn){ rotateBtn.addEventListener("click", function () { if(that.obj.config.orientation == 0){ data.orientation = 'left' that.obj.setOrientation(3) return; } data.orientation = 'nd' that.obj.setOrientation(0) }); }
this code im using to change orientation , the orientation is changing but, also i want to change node sizes on orientation change how to do it
Please edit this example to isolate the issue: https://code.balkan.app/org-chart-js/orientation#JS
im using a custom template in balkan ive set custom node sizes and styles below is a small example
this code im using to change orientation , the orientation is changing but, also i want to change node sizes on orientation change how to do it