Draw.io - working with backend and integration

we modified draw.io to add a custom UX, and now we would like to be able to save documents. So far, we've just served up javascript from Apache, but haven't been able to save it. There seems to be a backend in the github repo that is written in java, but the directions on the wiki ( https://github.com/jgraph/drawio/wiki/Building ) are a bit confusing.

The end goal is to update our customized version on our server, let multiple people view the same drawing at the same time, and when it changes it, others see the change (the way it works now http://draw.io ) and be able to save drawings (on a server or Google Drive or Dropbox) and share links to saved drawings using others. This all works elsewhere, but we don't know how to make it work on our server. Any help was much appreciated.

+3


source to share


2 answers


Try a cloud computing burden instead. Something like aws iot mqtt. This way, you can focus on the application and not the backend. Another option is realtime.io. Very cheap and you have to integrate quickly. The nice part about aws is you can use aws lamda to do heavy lifting of savings to cloudboxes.



0


source


If you call a task war

in Ant build.xml it will create a war that you can run on a servlet like Tomcat.

The production version of draw.io does indeed work on Google App Engine, you can try this.



From a storage perspective, draw.io has no functionality to save to the server it runs on, only for cloud storage options.

To keep the cloud storage option, you need to set up API projects for each one and put app IDs in Google Drive and OneDrive files .

0


source







All Articles