diff --git a/docs/manual.html b/docs/manual.html index 6b31799b0..bd6f7b0bc 100644 --- a/docs/manual.html +++ b/docs/manual.html @@ -59,8 +59,8 @@ individual features of the library.
Developers integrating the library in their application should read the section “Pre-requisites” below. Given that mxGraph is a component -part of your application, you must understand how JavaScript web -applications are constructed at an architectural level, and how to program +part of your application, you must understand how JavaScript web +applications are constructed at an architectural level, and how to program both in JavaScript, as well as any server-side languages used.
mxGraph mainly comprises one JavaScript @@ -117,7 +117,7 @@ application to invoke the library's functionality.
mxGraph uses JavaScript for the client-side functionality on the browser. The JavaScript code in turn uses the underlying vector graphics -language on the active browser to render the displayed diagram, currently SVG +language on the active browser to render the displayed diagram, currently SVG for all supported browsers. mxGraph also includes the feature to render entirely using html, this limits the range of functionality available, but is suitable for more simple diagrams.
@@ -131,8 +131,8 @@ browsers and adapts to the inconsistencies behind the scenes.The JavaScript client of mxGraph is licensed under the
- Apache
+ The JavaScript client of mxGraph is licensed under the
+ Apache
2.0 license For detailed licensing questions you are always advised to
consult a legal professional.
Table: Project Directory Structure
mxGraph is also available via the npm package manager. To use mxGraph as
+ a depedency, use npm install
:
npm install mxgraph --save+ +
The module can be loaded using require()
. This returns a
+ factory function that accepts an object of options. Options such as
+ mxBasePath
must be provided to the factory function, rather
+ than specified as global variables.
var mxgraph = require("mxgraph")({ + mxImageBasePath: "./src/images", + mxBasePath: "./src" +})+ +
The factory function returns a 'namespace object' that provides access to
+ all objects of the mxGraph package. For example, the mxEvent
+ object is available at mxgraph.mxEvent
.
var mxEvent = mxgraph.mxEvent; +mxEvent.disableContextMenu(container);+
Web applications, specifically the use of JavaScript to attempt