Free Support Forum -

Multiple Connections to the shapes with dynamic connector

I am trying to create 6 shapes named TC xx in the page named Two_HDAV and the shapes are added fine. When try to connect them through connection points using dynamic connector, there was some issues with connection between first shape and second shape where the connector did not join/connect properly.

So i have uploaded the sample code and output diagram(VenueBlockDiagramAutomationOutput) generated from this code.

I have also added the template diagram(VenueBlockDiagramAutomationTemplate) (352.5 KB)
before processing/modification by the code.

We were able to notice the issue in our environment while testing the scenario with Aspose.Diagram for JAVA 21.2 and logged it as DIAGRAMJAVA-50712 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.

Please add this line of code before adding connection points to the shape, and the dynamic connector will be fine.

					      shapeinstance.getConnections().clear(); //add this line

Thank you. It worked.