This method is used to set the orientation of the graph. The value can be “vertical” or “horizontal”.
The graph on the left is using the default orientation which is vertical and the right graph is using the horizontal orientation.
For other options and examples, check VizJS