I am trying to align a graph from Left to Right, not from Top to Bottom.
Using a a GeometryGraph this seems to work fine, when I use a regular Graph i don't see how i can achieve this.
This should work.
var graph = new Microsoft.Msagl.Drawing.Graph("graph");
graph.Attr.LayerDirection = LayerDirection.LR;
//fill the graph
//display the graph in the viewer
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?