How to center the diagram

Hi,

To center the rendered diagram, invoke the fitToPage method after rendering the layout. Please refer to the sample below for guidance

Sample:

https://stackblitz.com/edit/angular-47hopq-blbhyt?file=src%2Fapp.component.html,src%2Fapp.component.ts



Regards,

Vivisa


1 Reply

HT Hu?ng Trung November 30, 2023 11:10 AM UTC


Image_7090_1701266157161

I want to center the diagram equivalent to the position of the red area


Loader.
Up arrow icon