Package Exports
- diagram-js
- diagram-js/lib/Diagram
- diagram-js/lib/core/Canvas
- diagram-js/lib/core/ElementRegistry
- diagram-js/lib/core/EventBus
- diagram-js/lib/core/GraphicsFactory
- diagram-js/lib/draw/Renderer
- diagram-js/lib/draw/Snap
- diagram-js/lib/draw/Styles
- diagram-js/lib/features/move
- diagram-js/lib/features/selection/Visuals
- diagram-js/lib/util/IdGenerator
- diagram-js/lib/util/LabelUtil
- diagram-js/test/Matchers
- diagram-js/test/TestHelper
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (diagram-js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
diagram.js
diagram.js
is a toolbox for displaying and modifying diagrams on the web.
Setup
To get the development setup ready execute
npm install
bower install
Develop
Execute grunt auto-build
to run the development setup including automatic rebuild and live reload.
The task serves the project files on localhost:9003. Browse to the example directory to view the examples.
Execute Tests
To execute tests, run grunt auto-test
.
Package
Simply execute grunt
.
Building the library includes testing, packaging and generating documentation. The final artifacts will be generated to doc/
(documentation) and build/
(modules) respectively.