Draw.io — Is there non-minified source?

无人久伴 提交于 2019-12-01 09:29:39

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...

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!