{"_id":"@bptlab/openbpt-modeler-bpmn-choreography","name":"@bptlab/openbpt-modeler-bpmn-choreography","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@bptlab/openbpt-modeler-bpmn-choreography","version":"1.0.0","description":"A fork of the chor-js repository for use in the OpenBPT platform.","publishConfig":{"access":"public"},"keywords":["choreography model","choreography","modeler","browser","choreo-js","toolkit","bpmn"],"main":"index.js","directories":{"lib":"lib"},"scripts":{"lint":"eslint .","test":"karma start","bundle":"node bundler.js","prepublishOnly":"npm run bundle","visualTest":"node ./test/testBundler.js"},"author":{"name":"bptlab","url":"https://github.com/bptlab"},"contributors":[{"name":"Jan Ladleif","url":"https://github.com/jan-ladleif"},{"name":"Maximilian König"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/bptlab/openbpt-modeler-bpmn-choreography.git"},"assetTypesToStringify":["bpmn"],"browserslist":["last 2 Firefox versions","last 2 Chrome versions","last 2 Safari versions","last 2 Edge versions","last 2 Opera versions","last 2 Baidu versions"],"devDependencies":{"chai":"^4.5.0","eslint":"^6.8.0","eslint-plugin-bpmn-io":"^0.8.2","karma":"^5.2.3","karma-chai":"^0.1.0","karma-chrome-launcher":"^3.2.0","karma-mocha":"^2.0.1","karma-parcel":"^0.5.2","mocha":"^8.4.0","mocha-test-container-support":"^0.2.0","parcel-bundler":"^1.12.5","parcel-plugin-stringify-anything":"^1.2.0","puppeteer":"^3.3.0","sinon":"^9.2.4","sinon-chai":"^3.7.0","source-map-support":"^0.5.21"},"dependencies":{"bpmn-js":"^7.5.0","diagram-js":"^6.8.2","inherits":"^2.0.4","min-dash":"^3.8.1","tiny-svg":"^2.2.4"},"_id":"@bptlab/openbpt-modeler-bpmn-choreography@1.0.0","gitHead":"7980716021eeb743cfbf8136c8a4fb1d19971c33","bugs":{"url":"https://github.com/bptlab/openbpt-modeler-bpmn-choreography/issues"},"homepage":"https://github.com/bptlab/openbpt-modeler-bpmn-choreography#readme","_nodeVersion":"22.14.0","_npmVersion":"11.4.2","dist":{"integrity":"sha512-bNQJESa1o/nK/hobi5NocGt1/fkzdpUCY8ImPtqyvSBavNOvS8vlsovGZKghHFTP3Xaq4URdvnY2IRoJnhSazw==","shasum":"104d196f9c05143b1569c9bd1fb0cfdf8b885908","tarball":"https://registry.npmjs.org/@bptlab/openbpt-modeler-bpmn-choreography/-/openbpt-modeler-bpmn-choreography-1.0.0.tgz","fileCount":102,"unpackedSize":4989959,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCZnvfLr3G5JgcKegkN+NMo8Ol/z4H4XTGOCpvaPZhaygIhAO6Eb/ow6aVPse9iJxQlKLsUcwGACh+/ulme8jcsqP1q"}]},"_npmUser":{"name":"maximiliankoenig","email":"maximilian.koenig@hpi.de"},"maintainers":[{"name":"maximiliankoenig","email":"maximilian.koenig@hpi.de"},{"name":"bpt-lab","email":"bptlab@hpi.de"},{"name":"t-lichtenstein","email":"lichtenstein-t@web.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/openbpt-modeler-bpmn-choreography_1.0.0_1757949830796_0.6368418450942086"},"_hasShrinkwrap":false}},"time":{"created":"2025-09-15T15:23:50.688Z","1.0.0":"2025-09-15T15:23:51.039Z","modified":"2025-09-15T15:23:51.396Z"},"maintainers":[{"name":"maximiliankoenig","email":"maximilian.koenig@hpi.de"},{"name":"bpt-lab","email":"bptlab@hpi.de"},{"name":"t-lichtenstein","email":"lichtenstein-t@web.de"}],"description":"A fork of the chor-js repository for use in the OpenBPT platform.","homepage":"https://github.com/bptlab/openbpt-modeler-bpmn-choreography#readme","keywords":["choreography model","choreography","modeler","browser","choreo-js","toolkit","bpmn"],"repository":{"type":"git","url":"git+https://github.com/bptlab/openbpt-modeler-bpmn-choreography.git"},"contributors":[{"name":"Jan Ladleif","url":"https://github.com/jan-ladleif"},{"name":"Maximilian König"}],"author":{"name":"bptlab","url":"https://github.com/bptlab"},"bugs":{"url":"https://github.com/bptlab/openbpt-modeler-bpmn-choreography/issues"},"license":"MIT","readme":"# chor-js\r\n\r\n[![Build Status](https://travis-ci.com/bptlab/chor-js.svg?branch=master)](https://travis-ci.com/bptlab/chor-js)\r\n\r\n### ***[:rocket: Try it live! :rocket:](https://bpt-lab.org/chor-js-demo/)***\r\n\r\nView and edit [BPMN 2.0](https://www.omg.org/spec/BPMN/2.0.2/) choreography diagrams in the browser.\r\nBased on [bpmn-js](https://github.com/bpmn-io/bpmn-js/).\r\n\r\n[![chor-js screencast](./docs/screencast.gif \"chor-js in action\")](https://github.com/bptlab/chor-js-demo)\r\n\r\n:boom: Supports most of the elements in the choreography diagram standard  \r\n:boom: Imports/exports standard-compliant BPMN2 XML  \r\n:boom: Provides features specifically designed for choreography modeling\r\n\r\nCheck out our [demo application](https://github.com/bptlab/chor-js-demo) for an example web application using chor-js, adding additional features like a model validator and properties panel.\r\n\r\n## Research\r\n\r\nIf you use chor-js in an academic setting, please cite our demo paper:\r\n\r\n> Jan Ladleif, Anton von Weltzien, Mathias Weske: _chor-js: A Modeling Framework for BPMN 2.0 Choreography Diagrams._ ER Forum/Posters/Demos (2019)\r\n> [[PDF]](http://ceur-ws.org/Vol-2469/ERDemo02.pdf)\r\n> [[Bibtex]](https://dblp.org/rec/bibtex/conf/er/LadleifWW19)\r\n\r\n## Installation\r\n\r\n### a) Pre-Packaged\r\n\r\nJust include the pre-packaged code in your webpage:\r\n\r\n```html\r\n<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/chor-js@latest/dist/assets/chor-js.css\">\r\n<script src=\"https://cdn.jsdelivr.net/npm/chor-js@latest/dist/chor-js-modeler.min.js\"></script>\r\n<!-- ... or 'viewer' or 'navigated-viewer'! -->\r\n```\r\n\r\nYou can find a sample webpage [here](./docs/prepackaged.html).\r\n\r\n### b) NPM\r\n\r\nInstall the package via `npm install chor-js` and import chor-js in your application:\r\n\r\n```javascript\r\nimport ChorJS from 'chor-js/lib/Modeler';\r\n// ... or 'Viewer' or 'NavigatedViewer'!\r\n```\r\n\r\nYou can include the bundled style files from `dist/assets/chor-js.css` or bundle the assets folder on your own.\r\n\r\nFor a more elaborate example of how to use the package, see [our demo](https://github.com/bptlab/chor-js-demo).\r\nA development setup is described there as well.\r\n\r\n## Usage\r\n\r\nCreate a chor-js instance and link it to a canvas:\r\n\r\n```javascript\r\nconst xml; // your BPMN2 choreography XML\r\n\r\n// Setup modeler\r\nconst modeler = new ChorJS({\r\n  container: '#canvas',\r\n  keyboard: {\r\n    bindTo: document\r\n  }\r\n});\r\n\r\n// Load model (optionally with a specific diagram ID)\r\nawait modeler.importXML(xml, '_choreo1');\r\n```\r\n\r\n## Further Documentation\r\n\r\nAs the library is based on [bpmn-js](https://github.com/bpmn-io/bpmn-js/), a lot of the instructions and techniques described there also work for chor-js.\r\n\r\n## License\r\n\r\nLicensed under the [MIT license](https://github.com/bptlab/chor-js/blob/master/LICENSE).\r\n","readmeFilename":"README.md","_rev":"1-6f46d60a34594ab580e0c39cbff2fd98"}