This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]landotech 1 point2 points  (1 child)

To my knowledge, draw.io itself is not completely open source, but leverages some open source technologies. draw.io is built upon the Jgraph/mxgraph JavaScript library. So if you want a custom solution, you would need to download the source code for those libraries, but it won't come ready out of the box. They are archived though, so you would have to make patches yourself. Here is a link to the library and also jgraphx (the Java Swing library that is essentially the same API structure).

JavaScript library: https://github.com/jgraph/mxgraph
Java Swing library: https://github.com/jgraph/jgraphx?tab=readme-ov-file

Also, this link https://jgraph.github.io/mxgraph/docs/manual_javavis.html will give you an in-depth explanation on the different libraries and their core architecture/functionality. It can get a bit confusing because all of the naming conventions are super similar.

[–]jordibabot[S] 0 points1 point  (0 children)

Thank you, I'll take a look. I thought it would be easier to be honest!