diagram-js

用于在 web 上显示和修改图表的工具箱。(A toolbox for displaying and modifying diagrams on the web.)

Github stars Tracking Chart

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.

diagram-js

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 bpmn.io

External

Resources

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

Testing

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.

Package

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.

License

MIT

Main metrics

Overview
Name With Ownerbpmn-io/diagram-js
Primary LanguageJavaScript
Program languageCSS (Language Count: 3)
PlatformCross-platform, Linux, Mac, Web browsers, Windows
License:MIT License
所有者活动
Created At2014-01-23 14:31:50
Pushed At2025-07-23 09:45:42
Last Commit At
Release Count291
Last Release Namev15.3.0 (Posted on 2025-04-22 13:42:49)
First Release Namev0.0.1 (Posted on )
用户参与
Stargazers Count1.8k
Watchers Count55
Fork Count435
Commits Count2.6k
Has Issues Enabled
Issues Count370
Issue Open Count24
Pull Requests Count481
Pull Requests Open Count9
Pull Requests Close Count118
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private