2017 © Pedro Peláez
 

library bpmn-js

image

intelogie/bpmn-js

  • Friday, September 2, 2016
  • by bgauthier
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 295 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

The project is still in an early stage. Documentation may be missing and examples may be broken., (*1)

bpmn-js - BPMN 2.0 for the web

Build Status, (*2)

bpmn-js is a BPMN 2.0 diagram rendering toolkit and web modeler., (*3)

bpmn-js in action, (*4)

Usage

No need for additional setup: Try out our seed project or use the pre-packaged version of the library., (*5)

Get the library via npm or Bower and use it in your web applications to display BPMN 2.0 diagrams., (*6)

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., (*7)

Fetch Prebuilt

The bower-bpmn-js repository contains pre-built bundles of bpmn-js., (*8)

Download them directly or fetch them with Bower:, (*9)

bower install bpmn-js

Checkout the example project to get started., (*10)

Install via npm

Fetch the library via npm to get fine grained access to the parts you need:, (*11)

npm install --save bpmn-js

Make sure you use browserify or the like to bundle your project and bpmn-js for the browser., (*12)

Checkout the example project to learn more., (*13)

Resources

Building the Project

Perform the following steps to build the library, including running all tests:, (*14)

cd bpmn-js
npm install
npm run all

You may need to perform additional project setup when building the latest development snapshot., (*15)

Please checkout our contributing guidelines if you plan to file an issue or pull request., (*16)

bpmn-js builds on top of a few additional powerful tools:, (*17)

  • 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., (*18)

The Versions

02/09 2016

dev-master

9999999-dev

  Sources   Download

02/09 2016

1.0.2

1.0.2.0

  Sources   Download