Skip to main content

1. Install

pip install python_vdx

2. Workspace creation

from vdx.diagramm import Diagramm
from vdx.shapes import Point

dia = Diagramm(top=Point(1, 11))

Note: Point (1, 11) is default point. It points to the upper left corner of visio page. Also, you should remember that all objects craeted on the diagramm placed in accordance with the point. So, Shape(startPoint=Point(2, 0)) will be places at Point(3, 11).

3. Adding element on the diagramm

...
from vdx.shapes import EPCFunction  # EPCFunction is function object in ECP diagramm


## Add several "EPCFunction" objects with the same coordinates
dia.append_shape(EPCFunction())
dia.append_shape(EPCFunction())
dia.append_shape(EPCFunction())
dia.append_shape(EPCFunction())

4. Save the diagramm to a file.

....

dia.save('some_path_to_save.vdx')

Supported objects (at the moment only EPC objects are supported)

  • Function (EPC)

  • Event (EPC)

  • Organization Unit (EPC)

  • Information Material (EPC)

  • Main process (EPC)

  • Component (EPC)

  • Enterprise area (EPC)

  • Process group

  • XOR (EPC)

  • OR (EPC)

  • AND (EPC)

  • Dynamic connector (EPC)

Release files for python_vdx 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python_vdx 0.1
File Size Uploaded
python_vdx-0.1.tar.gz 31.6 kB Details

Release files / python_vdx-0.1.tar.gz

Download URL python_vdx-0.1.tar.gz
Size 31.6 kB
Tags Source
SHA-256 checksum
How to use checksums
574e9987a7e0913aa49f44c13e3be2db572529d8a1e902e02c825500881b2336
BLAKE2b-256 checksum
How to use checksums
a9faa68376db183f71c99b358c1e57eaf5a2cc95f1f941f829094539e0921275
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page