We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

New connection point

Hi, I found this issue: Create a new Connection Point
and I’m running link you provided at the bottom [just in case I also attached this source code]: https://docs.aspose.com/diagram/java/use-connection-indexes-to-connect-shapes/#UseConnectionindexestoconnectshapes-AddnewConnectionsontheshapeanduseConnectionindexestoconnectshapes
and the top shape is only connected with 1 bottom one and it still doesn’t look like that was the intended result.
2022-05-23 12_14_09-Drawing1_out.vsdx - Visio Professional.png (4.8 KB)
temp.zip (67.6 KB)


We have logged this issue as DIAGRAMJAVA-50974 in our issue tracking system for further investigation after replicating it in our environment. We will look into it and let you know as soon as it is resolved. Please be patient and spare us some time.

We are sorry for the inconvenience.

The issues you have found earlier (filed as DIAGRAMJAVA-50974) have been fixed in this update. This message was posted using Bugs notification tool by philip.zhou

Hi, I’m still getting the same behavior on 22.6 - 1 connection with top element and bottom middle element and 2 lines at the bottom left not connecting any shapes.


We have recorded your feedback and will investigate from this perspective. We will inform you once we have some updates.


Please try to use the code as per the updated documentation article. An output file generated by 22.6 version is also attached for your kind reference. 50974_out.zip (12.7 KB)

Ok, thanks, seems to be working. Btw. in these lines:

page.connectShapesViaConnectorIndex(shape1.getID(), 6, shape2.getID(), 3, connecter1Id);
page.connectShapesViaConnectorIndex(shape1.getID(), 1, shape3.getID(), 3, connecter2Id);

6 and 1 are IX’s of the Connection objects, right?


Yes, these are indices of (From) Shape.