Agreed to Prafull,
The org chart can be grown big enough depends on team size and may need to shared to others via PDF or JPG. It is a need to export all elements and not only visible on screen. There should be print landscape or portrait option required as well.
Note that Drawing API exports only elements that are visible at the moment of export. Thus, in order to export the entire OrgChart to PDF, it should be entirely visible at the moment when the 'Export' button is clicked. In case part of the widget is not visible on the screen, it will not be exported.
Hence as per our requirement it should be exported entire OrgChart to PDF whether entirely visible or not at the moment when the 'Export' button is clicked.