Giter Club home page Giter Club logo

draw.io's Introduction

draw.io project sources
-----------------------

draw.io comprises three parts:

1) The static web content under the war directory.
2) The open, save, embed, proxy and iconfinder servlets as one servlet war. These are located under src/com/mxgraph/online/.
3) The image export servlet. This is located under etc/imageexport.

Prior to invoking any builds, search war/index.html for "CUSTOM_PARAMETERS". The image export URL is the most important variable to change (EXPORT_URL). 
Without that the export to image will use our server, which somewhat defeats the point of hosting it. The servlet is mapped to "export" and the default name 
of the war is "Imageexport" so "/Imageexport/export" is the value if you deploy that war as-is and the servlet engine is on the root of the domain.

/etc/build/build.xml is the ant build file for the main war. Invoking "war" will generate build/draw.war.

/etc/imagexport/build.xml is the ant build file for the image export war. Invoking "war" will generate /etc/imageexport/imageexport.war.

Depoly these wars on a servlet engine and navigate to the location of the first war, you will get the draw.io application.

Licensing
---------

The underlying mxGraph library is licensed to you either the http://creativecommons.org/licenses/by-nc-sa/3.0/ or the mxGraph commercial license 
(if you're a paying customer). Please understand that we make a living selling the mxGraph library commercially, we need to avoid draw.io being 
used freely where mxGraph would previously have been sold. If you are unsure, just ask us on the jgraph.com site web before you start.

The source to draw.io itself is Apache 2.0 licensed (or mxGraph Commercial License), but obviously the mxGraph license dominates this for commercial 
purposes.

We separate between developing against the mxGraph API and just deploying draw.io for general usage. Thus, we make exceptions to the CCNC license 
if you want to take draw.io as-is and deploy it for your own use (note this only affects commercial users).

draw.io's People

Contributors

alderg avatar hatsuseno avatar

Watchers

James Cloos avatar Vincent de Koning avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.