Convert Diagram to PDF - Network diagrams are not appearing correctly in PDF


I am using aspose.diagram v6.7.0 to generate PDF of the attached visio file. In the PDF output, network diagrams are not appearing correctly.

Following code is used to generate the PDF output:

Diagram diagram = new Diagram("NW diag.vsdx");
File outputFile = new File("output.pdf");, SaveFileFormat.PDF);

Can you please analyse this issue.


Hi Neha,

Thank you for contacting support. We managed to replicate the problem of incorrect appearance of Visio shapes. It has been logged under ticket ID DIAGRAMJAVA-50381 in our bug tracking system. Your post has also been linked to this ticket. We’ll keep you informed regarding any available updates. We’re sorry for the inconvenience caused.


We would like to share with you that we have resolved most of the issues and made improvements to the API in Aspose.Diagram for Java 19.12.1 hotfix. However, some issues are still pending which could be observed on second page.

The issues you have found earlier (filed as DIAGRAMJAVA-50381) have been fixed in Aspose.Diagram for Java 20.1.