thiezn / visiopy

Handling Microsoft Visio 2013 vsdx files from Python
20 stars 5 forks source link

would like an update :D #1

Open john012343210 opened 3 years ago

john012343210 commented 3 years ago

I love using draw io very much, however to export the graph, the only support format that could preserve some information is vsdx, but there are so few vsdx python libraries out there.

xcke commented 3 years ago

We should write one:-) I guess the problem is that understanding the xml structure is not so fast. Templating Visio is simple because we can use Jinja2 like docxtpl. Latter could be phase 1.

Aron Water notifications@github.com (időpont: 2021. febr. 20., Szo, 0:32) ezt írta:

I love using drawing very much, however to export the graph, the only support format that could preserve some information is vsdx, but there are so few vsdx python libraries out there.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/thiezn/visiopy/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD4XJ4UALBNBKOUHZFAEHADS73YHNANCNFSM4X5GLJBQ .

--

Best Regards :: Mit freundlichen Grüßen :: Üdvözlettel,

Kis-Hegedüs Gábor| @ gabor.kh@gmail.com gabor.kh@gmail.com | M: +36 20 267 3933

john012343210 commented 3 years ago

@xcke yes, I guess the most popular open-source drawing tool out there is drawio
The only support format that preserves information is vsdx After using an editor to read some vsdx file, I discover that it is actually quite a messy format. If two shapes are connected, it is not that easy to discover this in this format.

xcke commented 3 years ago

I thinkt he problem is that in our profession Microsoft Visio is very important, and not just for Network Engineering but for the stakeholders also. As we see more and more automation in this profession (ex: DevNet certs), demand for such a Microsoft Visio python API would increase. I guess the problem that it would be time consuming to

  1. Understand the Microsoft Visio XML format
  2. Re-construct the logic of that into a Python object format

Rest is more simple, because any structured data could serve as an input (eg: JSON / YAML) and the output would be to construct a valid Microsoft Visio file package (zipped collection of XML files).

Maybe, it would be more economical to actually begin to create features and represent the features in Jinja2 in the XML files instead of trying to re-engineer the complete XML structure?

From: Aron Water notifications@github.com Date: Sunday, 2021. February 21. 0:10 To: thiezn/visiopy visiopy@noreply.github.com Cc: Gabor Kis-Hegedüs gabor.kh@gmail.com, Mention mention@noreply.github.com Subject: Re: [thiezn/visiopy] would like an update :D (#1)

@xckehttps://github.com/xcke yes, I guess the most popular open-source drawing tool out there is drawiohttps://app.diagrams.net/ The only support format that preserves information is vsdx After using an editor to read some vsdx file, I discover that it is actually quite a messy format. If two shapes are connected, it is not that easy to discover this in this format.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/thiezn/visiopy/issues/1#issuecomment-782763325, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD4XJ4VKGTOLCWEP5MR546DTAA6O3ANCNFSM4X5GLJBQ.