A toolbox for displaying and modifying diagrams on the web.
Some libraries / applications built on top of diagram-js:
Prepare the project by installing all dependencies:
npm install
Then, depending on your use-case you may run any of the following commands:
# build the library and run all tests
npm run all
# run the development setup
npm run dev
# run tests (single run)
npm test
Expose an environment variable TEST_BROWSERS=(Chrome|Firefox)
to execute the tests in a non-headless browser.
[!NOTE] We do not generate any build artifacts. Required parts of the library should be bundled by consuming libraries as needed instead.
MIT