Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
B

bpmn-js

> 编程语言
Open source

A BPMN 2.0 rendering toolkit and web modeler.

9.6K stars0 likes2 views
WebsiteGitHub

About

A BPMN 2.0 rendering toolkit and web modeler.

bpmn-js - BPMN 2.0 for the web

View and edit BPMN 2.0 diagrams in the browser.

Installation

Use the library pre-packaged or include it via npm into your node-style web-application.

Usage

To get started, create a bpmn-js instance and render BPMN 2.0 diagrams in the browser:

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);
}

Checkout our examples for many more supported usage scenarios.

Resources

  • Demo
  • Issues
  • Examples
  • Forum
  • Changelog

Build and Run

Prepare the project by installing all dependencies:

bash
npm install

Then, depending on your use-case you may run any of the following commands:

bash
# 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

You may need to perform additional project setup when building the latest development snapshot.

Related

bpmn-js builds on top of a few powerful tools:

  • bpmn-moddle: Read / write support for BPMN 2.0 XML in the browsers
  • diagram-js: Diagram rendering and editing toolkit

It is an extensible toolkit, complemented by many additional utilities.

License

Use under the terms of the bpmn.io license.

Issues· 126 open

View all issuesOpen on GitHub
  • #1893

    BPMNLabel is not removed when name is erased on an external label element

    buggood first issuespring cleaningUpdated Aug 28, 2026
  • #1962

    Support dark modes with user-defined colors

    enhancementbacklogspring cleaningUpdated Jul 29, 2026
  • #2467

    Adaptive label positioning: no global collision avoidance or diagonal fallback

    enhancementbacklogspring cleaningUpdated Jul 29, 2026
  • #2371

    Alignment tools for labels don't work inside of participant/lane

    bugmodelinggood first issuebacklogspring cleaningUpdated Jul 28, 2026
  • #2140

    Visual glitches using connect tool

    buggood first issuebacklogspring cleaningUpdated Jul 20, 2026
  • #1938

    Add Auto-Connect Feature

    enhancementbacklogUpdated Jul 14, 2026
  • #1766

    Label double moves on batch movement

    bugmodelinggood first issuebacklogspring cleaningUpdated Jul 8, 2026
  • #748

    Activate direct editing on create for all activities and events

    modelingenhancementbacklogspring cleaningneeds more informationUpdated Apr 28, 2026
  • #604

    Context pad pops up on hand tool

    buguxbacklogspring cleaningUpdated Mar 10, 2026
  • #1642

    Cannot select labels in viewer

    bugbacklogspring cleaningUpdated Mar 10, 2026

> Tags

JavaScriptbpmnbpmn-jsbrowserhacktoberfest

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category编程语言
PricingOpen source

> Related tools

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