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

Free Support Forum - aspose.com

Missing Shapes while Opening and Saving MS Visio Diagram in C#

Hi Support,

After I open a diagram with Aspose and just save it, one of the shapes is missing in a saved diagram.
Code example:
static void Main(string[] args)
{
var asposeDiagram = new Diagram(“MissingShapesExample.vsdx”);
asposeDiagram.Save(“MissingShapesExampleCopy.vsdx”, SaveFileFormat.Vsdx);
}MissingShapesExample.zip (34.0 KB)
Please see a diagram where an issue can be reproduced attached.

Note: After I deleted sub-shape “Text callout”, everything works without issues

@Oleg_Sh

We were able to notice the similar issue in our environment while testing the scenario with 21.11 version of the API. Hence, have logged it as DIAGRAMNET-52443 in our issue tracking system. We will further look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.

We are sorry for the inconvenience.

@Oleg_Sh
Please try the latest fix 21.11.2. We have fixed this issue in the fix.
Aspose.Diagram21.11.2.zip (4.6 MB)

Thanks.

Thank’s Philip,

I tested this version and can confirm that issue no longer reproduces.
When this version will be available under nuget packages?

@Oleg_Sh

The fix will be included in the next version i.e. 21.12 which will be released in December 2021.