We are trying to use the latest Draw.io repository, and modify the javascript client side code to change some of its behaviors for an improved UX. But, the only up to date source we can find is here: https://github.com/jgraph/draw.io/tree/master/war/js
You'll notice that several of the source files are already minified, such as app.min.js
We found an old non-minified version of draw.io from 5 years ago: https://github.com/vmassol/draw.io
But it looks like it's missing a lot of functionality..
Does anyone have more information about this? Is there a way to get the non-minified source of the up to date version? Just how much functionality is missing from the old version? Or, do we misunderstand something, and the minified files, like app.min.js are just pre-built products from the source that's in the rest of the directories?
Thanks!
The minified and non-minified (NM) sources are both in the project (well, 2 projects, I'll explain). The NM sources mostly live in the diagramly folder (the old name for draw.io).
If you look in the build file, you can see which sources go into which *.min.js files.
As I mention, the sources aren't all in the draw.io project. mxGraph, the base library for draw.io, has an example called GraphEditor, which, as you can see from the demo, looks like a cut-down draw.io. The full stack for draw.io is actually mxGraph->GraphEditor->draw.io.
So, to build draw.io you currently need the mxGraph repo as a sibling repo to draw.io so the draw.io build can fetch the GraphEditor files referenced. Those NM files live here.
You've reminded me this needs tidying/documenting properly...