intelogie/bpmn-js
Composer 安装命令:
composer require intelogie/bpmn-js
包简介
README 文档
README
The project is still in an early stage. Documentation may be missing and examples may be broken.
bpmn-js - BPMN 2.0 for the web
bpmn-js is a BPMN 2.0 diagram rendering toolkit and web modeler.
Usage
No need for additional setup: Try out our seed project or use the pre-packaged version of the library.
Get the library via npm or Bower and use it in your web applications to display BPMN 2.0 diagrams.
var BpmnViewer = require('bpmn-js'); var xml; // my BPMN 2.0 xml var viewer = new BpmnViewer({ container: 'body' }); viewer.importXML(xml, function(err) { if (err) { console.log('error rendering', err); } else { console.log('rendered'); } });
Installation
Fetch bpmn-js prebuilt or install it via npm.
Fetch Prebuilt
The bower-bpmn-js repository contains pre-built bundles of bpmn-js.
Download them directly or fetch them with Bower:
bower install bpmn-js
Checkout the example project to get started.
Install via npm
Fetch the library via npm to get fine grained access to the parts you need:
npm install --save bpmn-js
Make sure you use browserify or the like to bundle your project and bpmn-js for the browser.
Checkout the example project to learn more.
Resources
Building the Project
Perform the following steps to build the library, including running all tests:
cd bpmn-js
npm install
npm run all
You may need to perform additional project setup when building the latest development snapshot.
Please checkout our contributing guidelines if you plan to file an issue or pull request.
Related
bpmn-js builds on top of a few additional powerful tools:
- bpmn-moddle: Read / write support for BPMN 2.0 XML in the browsers
- diagram-js: Diagram rendering and editing toolkit
License
Use under the terms of the bpmn.io license.
intelogie/bpmn-js 适用场景与选型建议
intelogie/bpmn-js 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 23 次下载、GitHub Stars 达 0, 最近一次更新时间为 2016 年 09 月 02 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 intelogie/bpmn-js 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 intelogie/bpmn-js 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 23
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2016-09-02
