We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Left to Right Flowchart Layout is not working

When I do this:
var layOptions = new Aspose.Diagram.AutoLayout.LayoutOptions();

layOptions.Direction = Aspose.Diagram.AutoLayout.LayoutDirection.LeftToRight;
layOptions.EnlargePage = true;
layOptions.LayoutStyle = Aspose.Diagram.AutoLayout.LayoutStyle.FlowChart;
layOptions.SpaceShapes = 1;


After placing all of my shapes in the same spot (1,1)
It only enlarges horizontally, but not vertically. So the resulting “flowchart” is a messy horizontal train (wreck). See attached result Bad picture. Compared to the desired output of the Good one done using Visio.

Diagram 4.5 had something that worked. (But there was a bug where the lines would spontaneously change their attachments to the left sides for both ends.)

Also, I have to manually remove a MasterShape reference on shapes that also have a Master reference. (Invalid Master Shape reference)

Thank You,
Andy Bay

Hi Andy,

Can you please share your complete code and input VSD to reproduce the issue?

Best Regards,