Shape order

Hi

In the attached file there is missing some shapes. From what i can deduce from the SVG content, the shapes are actually there, but they seem to have a wrong z-index.

The files are converted with this piece of code:

var d = new Diagram(file);
var SVGso = new SVGSaveOptions();
SVGso.ExportGuideShapes = false;
SVGso.SaveFormat = SaveFileFormat.SVG;
SVGso.SVGFitToViewPort = true;
SVGso.ExportElementAsRectTag = true;
d.Save(svgoutname, SVGso);

There are three files, office.svg is a svg made through MS Visio, aspose.svg is yours (converted with 19.3), and a source.vsd file.
shape order.zip (371.8 KB)

Regards
Dennis

@hellagutmanndk

We were able to observe similar issue in our environment while testing the scenario with your files. Therefore, we have logged this issue as DIAGRAMNET-51634 in our issue tracking system for the sake of correction and will definitely keep you informed on its rectification status. Please spare us little time.

We are sorry for the inconvenience.

The issues you have found earlier (filed as DIAGRAMNET-51634) have been fixed in Aspose.Diagram for .NET 19.5.