A toolbox for displaying and modifying diagrams on the web
npm install diagram-js
A toolbox for displaying and modifying diagrams on the web.
Some libraries / applications built on top of diagram-js:
#### Part of bpmn.io
* bpmn-js - A BPMN 2.0 viewer / modeler (Demo)
* cmmn-js - A CMMN 1.1 viewer / modeler (Demo)
* dmn-js - A DMN 1.3 viewer / modeler / table editor (Demo)
#### External
* Apache Seata Saga Designer - A visual orchestration tool for Seata Saga transaction (Demo)
* archimate-js - An ArchiMate diagram viewer and editor (Demo)
* chor-js - A BPMN 2.0 Choreography diagram viewer and editor (Demo)
* Node Sequencer - A Node-Based Sequencer for the Web (Demo)
* object-diagram-js - An object diagram viewer and editor (Demo)
* postit-js - Create Post-it boards on a canvas editor (Demo)
* Issues
* Changelog
* Contributing Guide
* Examples
Prepare the project by installing all dependencies:
``sh`
npm install
Then, depending on your use-case you may run any of the following commands:
`shbuild the library and run all tests
npm run all
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