Connect Shapes
Contents
[
Hide
]
Connect Shapes
This section explains how to connect two shapes using Aspose.Diagram for Python via Java.
Connect Shapes
The connectShapesViaConnector method connect two shapes via a connector in the Page class.
The code below shows how to:
- Create a diagram from stencil.
- Add two shapes to page.
- Add a connector shape to page.
- Connect the two shapes with the connector using connectShapesViaConnector mothod
- save diagram
Connect Shapes Programming Sample
Use the following code to connect shapes using Aspose.Diagram for Java.
Result |
---|