PNG JPG BMP TIFF VSDX
Aspose.Diagram  for Python

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

Aspose.Diagram for Python

API which is a feature-rich, powerful and easy to use API for Python platform. You can download its latest version directly from

Pypi

Steps for connect visio shapes in Python

A basic document drawing geomtry with

Aspose.Diagram for Python

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.
 

Connect visio shapes - Python

 
  • About Aspose.Diagram for Python via .Net API

    Aspose.Diagram is a Microsoft Visio document format manipulation API. One can easily load, create, modify, manipulate including daigram elements and convert Visio diagrams to other formats such as PDF, XPS, JPEG, PNG, BMP, TIFF, SVG, EMF and more. It is a standalone API and does not require Microsoft Visio or any other software to be installed.