How to re-allign a gojs flow chart?

Hey Walter,
That worked, it allowed me to align the diagram upon button click.
Thanks.

However, the diagram is aligned horizontally like this–>>

I want the diagram to be aligned vertically like this -->>

Is there another property or setting that needs to be set to achieve this ?