百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
B

bpmn-js

> 编程语言
开源

一个BPMN 2.0渲染工具包和网络模型.

9.6K stars0 点赞2 次浏览
访问官网GitHub

工具介绍

一个BPMN 2.0渲染工具包和网络模型.

bpmn-js - BPMN 2.0 网络

在浏览器中查看并编辑 BPMN 2.0 图. □ 安装

使用库 [预装 (ZZURL0Z) 或包括[通过npm] (ZZURL1Z) 输入您节点风格的网络应用程序。

□ 使用量

要启动, 请创建 [bpmn-js] (https://github.com/bpmn-io/bpmn-js) 实例 并在浏览器中渲染出 [BPMN 2.0图 (ZZURL3Z) :

(原始内容存档于2019-09-29) (英语). ```javascript const xml = '...'; // my BPMN 2.0 xml const viewer = new BpmnJS({ container: 'body' });

try { const { warnings } = await viewer.importXML(xml);

console.log('rendered'); } catch (err) { console.log('error rendering', err); }

bash

检查我们的[示例](https://github.com/bpmn-io/bpmn-js-examples)
更多支持的使用设想。

□ 资源

[Demo] (ZZURL5ZH) (英语).
[发 (ZZURL6Z)
* [例 (ZZURL7Z).
* [论坛] (ZZURL8Z)
* [Changelog] (./CangGELOG.md).

□ 构建和运行

通过安装所有依赖来准备工程 :

ZZ1ZZ

然后,根据您的使用大小写,您可以运行以下命令:

(原始内容存档于2019-09-29). ```sh
# build the library and run all tests
npm run all

# spin up a single local modeler instance
npm start

# run the full development setup
npm run dev

您可能需要在 建立最新的发展快照。

□ 相关

bpmn-js基于一些强大的工具:

[bpmn-moddle] (ZZURL9Z): 在浏览器中读取/ 写入 BPMN 2.0 XML 支持

  • [图表-js] (https://github.com/bpmn-io/diagram-js):图表渲染和编辑工具包

它是一个可扩展的工具包,由许多[额外用 加以补充(ZZURL11Z)。

□ 许可证

根据bpm.io许可证的规定使用.

Issues· 126 开放

查看全部 Issues在 GitHub 打开
  • #1893

    在外部标签元素上删除名称时,BPMNLabel 不会被删除

    buggood first issuespring cleaning更新于 2026年8月28日
  • #1962

    支持用户自定义颜色的黑暗模式

    enhancementbacklogspring cleaning更新于 2026年7月29日
  • #2467

    自适应标签定位: 没有全局避障或斜向回退

    enhancementbacklogspring cleaning更新于 2026年7月29日
  • #2371

    标签的对齐工具在参与者/车道内不起作用

    bugmodelinggood first issuebacklogspring cleaning更新于 2026年7月28日
  • #2140

    使用连接工具进行视觉错误修复

    buggood first issuebacklogspring cleaning更新于 2026年7月20日
  • #1938

    添加自动连接功能

    enhancementbacklog更新于 2026年7月14日
  • #1766

    在批量移动时标签会双重移动

    bugmodelinggood first issuebacklogspring cleaning更新于 2026年7月8日
  • #748

    在所有活动和事件中启用创建时的直接编辑

    modelingenhancementbacklogspring cleaningneeds more information更新于 2026年4月28日
  • #604

    手工具上弹出上下文选项板

    buguxbacklogspring cleaning更新于 2026年3月10日
  • #1642

    无法在查看器中选择标签

    bugbacklogspring cleaning更新于 2026年3月10日

> 标签

JavaScriptbpmnbpmn-jsbrowserhacktoberfest

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月29日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言