chor-js

An editor for BPMN 2.0 choreography diagrams based on bpmn-js

  • 所有者: bptlab/chor-js
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

chor-js

Build Status

Try it online!

View and edit BPMN 2.0 choreography diagrams in the browser.
Based on bpmn-js.

chor-js screencast

Features

  • model complex choreography diagrams
  • create and reuse roles on the fly
  • intuitively manage participant bands
  • show, hide and swap messages
  • import/export standard-compliant BPMN2 XML

chor-js supports most of the elements in the choreography diagram standard.

Installation

chor-js is packaged via npm.

Usage

Create a chor-js instance and link it to a canvas:

// Import modeler or viewer class
import ChorJS from 'chor-js/lib/Modeler';

let xml; // your BPMN2 choreography XML

// Setup modeler
let modeler = new ChorJS({
  container: '#canvas',
  keyboard: {
    bindTo: document
  }
});

// Load model
modeler.importXML(xml, {
  // [optional] ID of a specific choreography to display
  choreoID: '_choreo1'
}).then(() => {
  modeler.get('canvas').zoom('fit-viewport');
}).catch(error => {
  console.error('something went wrong: ', error);
});

For a more elaborate example of how to use the package, see our demo.
A development setup is described there as well.

As the library is based on bpmn-js, a lot of the instructions and techniques described there also work for chor-js.

Research

chor-js was presented at the ER Forum and Poster & Demos Session 2019 co-located with the 38th International Conference on Conceptual Modeling (ER 2019) in Salvador, Bahia, Brazil.
You can find the peer-reviewed paper online.

License

Licensed under the MIT license.

主要指标

概览
名称与所有者bptlab/chor-js
主编程语言JavaScript
编程语言JavaScript (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2018-10-07 19:52:17
推送于2021-01-14 10:52:23
最后一次提交2021-01-11 17:56:51
发布数16
最新版本名称v0.7.1 (发布于 )
第一版名称v0.2.0 (发布于 )
用户参与
星数151
关注者数4
派生数26
提交数125
已启用问题?
问题数76
打开的问题数5
拉请求数99
打开的拉请求数1
关闭的拉请求数4
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?