Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including diagram-js-jl with all npm packages installed. Try it out:

var diagramJsJl = require("diagram-js-jl")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

diagram-js-jl v2.6.2

A modeling framework for the web

As of version 1.0.0 this library exposes ES modules. Use an ES module aware bundler such as Webpack or Rollup to bundle it for the browser.


Build Status

A toolbox for displaying and modifying diagrams on the web.

Built with diagram-js

Some libraries / applications built on top of diagram-js:

Part of



Hacking the Project

To get the development setup make sure to have NodeJS installed. If your set up, clone the project and execute

npm install


Execute npm run dev 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 npm run all to lint and test the project.

Note: We do not generate any build artifacts. Required parts of the library should be bundled by modelers / viewers as needed instead.



RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free