A toolbox for displaying and modifying diagrams on the web.
JavaScript
1,926
2,698 commits
updated Oct 10, 2026
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
Overall
Maintained
Code review
npm
Latest release
Releases this year
600 followers · starred Apr 2025
70 followers · starred Sep 2015
320 followers · starred Nov 2025
216 followers · starred Jan 2018
A toolbox for displaying and modifying diagrams on the web.
JavaScript
1,926
2,698 commits
updated Oct 10, 2026
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
Overall
Maintained
Code review
npm
Latest release
Releases this year
600 followers · starred Apr 2025
70 followers · starred Sep 2015
320 followers · starred Nov 2025
216 followers · starred Jan 2018