The project is in an early development stage. For the time being, please refer to our comprehensive test suite or bpmn-js for usage examples.
diagram-js is a toolbox for displaying and modifying diagrams on the web.
To get the development setup ready execute
npm install
Execute grunt auto-test
to run the test suite in watch mode.
Expose an environment variable TEST_BROWSERS=(Chrome|Firefox|IE)
to execute the tests in a non-headless browser.
Execute grunt
to lint and test the project and to generate (preliminary) documentation.
We do not generate any build artifacts. Instead required parts of the library are intended to be bundled by modelers / viewers built on top of it.