DEV Community

Troy
Troy

Posted on

draw.io with Git source control management?

I'm a huge fan of draw.io - a tool used to draw network topology, UML, architecture & more. Our team uses the tool pretty heavily, albeit independent to each other and not necessarily sharing.

I had a thought.. you have the ability to export as .xml. Each user edits their diagram, exports as .xml (to device) and adds to the SCM repository. If another user wants to edit it, they check-out the branch.. make their edits and check in/add a pull request/etc.

Quick diagram using draw.io:
diagram

draw.io + SCM = success?

Has anyone else used this type of combination?

Top comments (7)

Collapse
 
headkace profile image
headkace

Is still a great idea. I would love to be using draw.io this way. Probably, needs to be a feature request to draw.io to support this. :/

Collapse
 
dietertroy profile image
Troy

Definitely! Thanks for the input!

Collapse
 
headkace profile image
headkace

And, someone has already put in the request: github.com/jgraph/drawio/issues/685 . We can go and give it a big thumbs-up.

Collapse
 
wsmckenz profile image
William McKenzie

So, a pretty reasonable workflow would be to clone the repository, and open it up in visual studio code, which has an extension with a full drawio editor. I usually save as .drawio.svg.

Collapse
 
_2082ca7cc65434467c4fb profile image
袁官东

If you need to design 3D software architecture diagram, you can try iCraft Editor : icraft.gantcloud.com/editor

Collapse
 
gdebenito profile image
Gonzalo

Hi Troy! Did you found any solution? Thank you

Collapse
 
cleberv_itau profile image
Victor Cleber Laureano

Wow.. it is exactly what i need right now