Free Support Forum - aspose.com

Problem when adding connections with a special shape


#1

Hi,

I have a problem when adding connections with a special connector shape.
I use these types of connector when connecting two shapes with two lines.
I would like to upgrade to the latest version 19.1.0, but I see the following problem there.
In the older version I have - 6.8.0 - it works fine.

I am adding attachments with:

  • Screenshot of how it should be (was OK with 6.8.0).
  • Screenshot of how it looks with 19.1.0.
  • Example code.
  • Example stencil.
  • VDX output.

Please help solve this problem.

Thanks,
Tamir.

Files.zip (236.1 KB)


#2

@tamirl1

Thanks for contacting support.

We were able to replicate the issue in our environment and for the sake of correction, we have logged it as DIAGRAMJAVA-50648 in our issue tracking system. We will further investigate the issue in details and keep you posted with the status of its correction. Please be patient and spare us little time.

We are sorry for the inconvenience.


#3

@tamirl1

Could you please provide sample Diagram file which you expect to generate using Aspose.Diagram. You may please share the Diagram file which screenshot you have shared earlier as correct/expected output.


#4

See attached example.
Let me know if you need any more information.
(Used Aspose.Diagram version 6.8.0)

Example_two_lines_good.zip (102.1 KB)


#5

@tamirl1

Thanks for sharing sample Diagram.

We had tried to generated Diagram using the code that you shared earlier and obtained attached result.

50648-6.8.0.zip (96.3 KB)

Would you please confirm if you are using same code snippet to generated Diagrams at your end. We will further check the diagram you recently shared and share our feedback after investigating it accordingly.


#6

Hi - there was a small mistake in my code, I am adding a new java file with a fix.
Please check this with versions 6.8.0 and 19.1.0 and you will see the difference.

UpDownConnectorsProblemNew.zip (1.2 KB)


#7

@tamirl1

Thanks for sharing code snippet.

We will investigate the issue using recently shared code snippet as well and let you know about additional updates as soon as we have some. Please spare us little time.