dave-howard / vsdx

vsdx - A python library for processing .vsdx files
BSD 3-Clause "New" or "Revised" License
70 stars 25 forks source link

Using vsdx package to Create shape and drop on Visio Page, Set location on sheet and other attributes #54

Open surajkhaitan opened 1 year ago

surajkhaitan commented 1 year ago

Hi,

I want to make a full fledged visio file with several features. Many of the functionalities are not available in this package and there is not any other package to use this. Can you suggest me on this? I have attached the sample file for reference. STOK-X-BS01 SLD (unlocked).zip

dave-howard commented 1 year ago

Hello,

This package exposes only some of the properties of pages/shapes so it is not well suited to creating new elements to build up a complex diagram from a blank page - however it also has a Jinja templating engine which allows you to combine a rich template such as a this and some data (a dictionary).

This might or might not be sufficient for your needs - a good place to start would be to look at the tests in tests/test_jinja.py and see how they work.

These templates allow basic logic such as if statements and loops, as well as templating of text content.

If there are any gaps in functionality (quite likely) then please suggest any additions here.

Good luck Dave