After loading the attached report generated with Aspose,
Report.zip (20,1 kB)
I execute the code:
Diagram diagram = new Diagram(fileName);
Shape shape = diagram.Pages[0].Shapes.GetShape(80);
shape.XForm.PinX.Value = 5;
shape.RefreshData();
diagram.Save(fileName, SaveFileFormat.Vsdx);
When I open the file, I can see that the shape is moved, however, the connector is not visible.
Moving manually one of the shapes makes visible the connector too.
What should be done in the code to make the connector visible when the file is opened with Visio ?