Are there any examples of programmatically creating draw.io diagrams from (preferably) python or (less interesting) java code?
We use the free and open source draw.io / diagrams.net to create diagrams, and store them in git (Bitbucket) close to the code. We use svg with the drawings completely embedded in the svg metadata.
I would like to automate the creation (and update) of some diagrams using code to automatically generate the diagram xml based on some discovered structured data. So, I'm looking for references to how to do this.
One specific use case is creating diagrams based on discovery of resources in our vSphere Datacenter. Since a draw.io diagram can be represented as text (xml), I seek the specification/documentation of the xml representation of draw.io objects, as well as any knowledge of libraries that would facilitate this.
Thanks!
Tim Black