Free Support Forum - aspose.com

[JAVA] Regression in Aspose Diagram Java 21.3 - incorrect connector display

Hi

The attached zip shows a regression between Aspose Diagram java 21.2 and 21.3 that causes a spurious connector shadow to appear when converting vsdx to svg.

The zip contains:

  • testcase.vsdx - source Visio
  • com/cognidox/TestConvert.java - code used to create the SVG
  • testcase-converted-with-aspose-diagram-21.2.svg - SVG created with 21.2
  • testcase-converted-with-aspose-diagram-21.3.svg - SVG created with 21.3
  • testcase-converted-with-aspose-diagram-21.5.svg - SVG created with 21.5

If you compare the 21.2 version with both the 21.3 and 21.5 versions you’ll see a white outline of the connector joining box 2 to box 1 overlaps the boxes. On the version created with 21.2, there is no white connector outline overlapping the boxes. There is no overlapping connector outline when saving from Visio to SVG.

image.png (15.5 KB)

image.png (15.4 KB)

svg-conversion-problem-in-aspose-21-3.zip (42.0 KB)

Regards
Vittal

FYI, the SVG files were viewed with Chrome 90.0.4430.212 on mac

Another issue this test case shows is how the text “‡ Project setup checklist - Customer” is split into 3 separate <text> elements rather than a single <text> element that saving from Visio results in.

Because the text is split into three separate elements, it leads to the inter-word spacing in the text being off.

@vittala

We have logged an issue as DIAGRAMJAVA-50724 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.

@vittala
Please try the latest version 21.6 or 21.6.1. We have fixed this issue.
Thanks. aspose-diagram-21.6.1-java.zip (3.9 MB)

Hi Philip

Thanks. release 21.6 seems to resolve the issue.

Regards
Vittal