
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
:rocket: Try it live! :rocket:
View and edit BPMN 2.0 choreography diagrams in the browser. Based on bpmn-js.
:boom: Supports most of the elements in the choreography diagram standard
:boom: Imports/exports standard-compliant BPMN2 XML
:boom: Provides features specifically designed for choreography modeling
If you use chor-js in an academic setting, please cite our demo paper:
Jan Ladleif, Anton von Weltzien, Mathias Weske: chor-js: A Modeling Framework for BPMN 2.0 Choreography Diagrams. ER Forum/Posters/Demos (2019) [PDF] [Bibtex]
Just include the pre-packaged code in your webpage:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/chor-js@latest/dist/assets/chor-js.css">
<script src="https://cdn.jsdelivr.net/npm/chor-js@latest/dist/chor-js-modeler.min.js"></script>
<!-- ... or 'viewer' or 'navigated-viewer'! -->
You can find a sample webpage here.
Install the package via npm install chor-js and import chor-js in your application:
import ChorJS from 'chor-js/lib/Modeler';
// ... or 'Viewer' or 'NavigatedViewer'!
You can include the bundled style files from dist/assets/chor-js.css or bundle the assets folder on your own.
For a more elaborate example of how to use the package, see our demo. A development setup is described there as well.
Create a chor-js instance and link it to a canvas:
const xml; // your BPMN2 choreography XML
// Setup modeler
const modeler = new ChorJS({
container: '#canvas',
keyboard: {
bindTo: document
}
});
// Load model (optionally with a specific diagram ID)
await modeler.importXML(xml, '_choreo1');
As the library is based on bpmn-js, a lot of the instructions and techniques described there also work for chor-js.
Licensed under the MIT license.
FAQs
A BPMN 2.0 choreography diagram rendering toolkit and web modeler.
We found that chor-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.