PNG
JPG
BMP
TIFF
VSDX
Connect visio shapes in Python
Native and high performance connect visio shapes using server-side Aspose.Diagram for Python APIs, without the use of any software like Microsoft or Open Office, Adobe PDF.
How to connect visio shapes Using Python
In order to connect visio shapes, we’ll use
API which is a feature-rich, powerful and easy to use API for Python platform. You can download its latest version directly from
Steps for connect visio shapes in Python
A basic document drawing geomtry with
APIs can be done with just few lines of code.
- Open a new Diagram object
- Select Page via its id
- Call connect_shapes_via_connector methods to connect visio shapes
- Call the save() method and pass the file name (full path) and format (VSDX) as a parameter.
- Now you can open and use the VSDX file in Microsoft Office, Adobe PDF or any other compatible program.
System Requirements
- Aspose.Diagram for Python is platform-independent API and can be used on any platform (Windows, Linux and MacOS), just make sure that system have Python 3.6 or higher.
- Install Aspose.Diagram for Python from pypi, use command as:
$ pip install aspose-diagram-python
.