draw.io

Draw.io : How can I debug unminified js code?

ε祈祈猫儿з 提交于 2019-12-11 02:09:15
问题 I downloaded draw.io source files from the github repository and tried to make some minor changes to the import function, but all the sources are minified (especially app.min.js). So my question is this: is there any way to debug the code with the unminified sources? Also I tried to pass inside the query string the param dev=1, but it gives some errors and doesn't manage to load. I already saw the post Draw.io — Is there non-minified source? but I don't know how to build draw.io. 回答1: If you

Draw.io — Is there non-minified source?

无人久伴 提交于 2019-12-01 09:29:39
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

Draw.io — Is there non-minified source?

我们两清 提交于 2019-12-01 07:19:44
问题 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..

How to get the XML from mxGrpah diagram?

大兔子大兔子 提交于 2019-11-29 13:08:44
Pointed index.html from mxGraph diagram sample Able to draw the diagrams using editor Enabled local storage Able to get the XML from local storage Editor.useLocalStorage = true; var temp = localStorage['testing.xml']; console.log(temp); But, I want to get the XML dynamically without using local storage, So I used the code from mxGraph -Save functionality not working locally but it's throwing graph is not defined let encoder = new mxCodec(); let result = encoder.encode(graph.getModel()); let xml = mxUtils.getXml(result); Code: <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" >

mxGraph -Save functionality not working locally

怎甘沉沦 提交于 2019-11-28 10:33:37
I downloaded https://github.com/jgraph/mxgraph open source code from Git,this application Save functionality not working in the locally. Is there any possible for run the save functionality in Locally?. is there any configuration required for that? please help me. After save button click getting below error message I provide the code snippets for local save && upload of the saved file code to export the xml of the current graph object let encoder = new mxCodec(); let result = encoder.encode(graph.getModel()); let xml = mxUtils.getXml(result); //workaround for the xml export, do not include the

How to get the XML from mxGrpah diagram?

孤人 提交于 2019-11-28 06:45:47
问题 Pointed index.html from mxGraph diagram sample Able to draw the diagrams using editor Enabled local storage Able to get the XML from local storage Editor.useLocalStorage = true; var temp = localStorage['testing.xml']; console.log(temp); But, I want to get the XML dynamically without using local storage, So I used the code from mxGraph -Save functionality not working locally but it's throwing graph is not defined let encoder = new mxCodec(); let result = encoder.encode(graph.getModel()); let

mxGraph -Save functionality not working locally

自作多情 提交于 2019-11-27 03:38:27
问题 I downloaded https://github.com/jgraph/mxgraph open source code from Git,this application Save functionality not working in the locally. Is there any possible for run the save functionality in Locally?. is there any configuration required for that? please help me. After save button click getting below error message 回答1: I provide the code snippets for local save && upload of the saved file code to export the xml of the current graph object let encoder = new mxCodec(); let result = encoder