8000 GitHub - linkz-ifelse/bpmn-visualization-js: A TypeScript library to visualize process execution data on BPMN diagrams
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

linkz-ifelse/bpmn-visualization-js

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

BPMN Visualization


bpmn-visualization is a TypeScript library to visualize process execution data on BPMN diagrams with:

  • additional display options for execution data (highlight some transitions, counters, and more)
  • interactive capacities (mouse hover, click)

๐ŸŽฎ Demo and examples

Please check โฉ live environment.
You will find there basic usage as well as detailed examples showing possible rendering customizations.

๐ŸŽจ Features

The bpmn-visualization is in early development stage and is subject to changes prior to the 1.0.0 release.

Already available features:

Planned features:

  • Display options for execution data with interactive capacities
  • BPMN extensions
  • Library extension points

๐ŸŒ Browsers Support

We do our best to support recent versions of major browsers

Chrome Chrome Firefox Firefox Safari Safari Edge Edge
โœ”๏ธ โœ”๏ธ โœ”๏ธ โœ”๏ธ

Note: Internet Explorer will never be supported.
The library may work with the other browsers. They must at least support ES6.

โ™ป๏ธ Usage

The library is available from NPM.
We support various module formats such as:

  • IIFE: dist/bpmn-visualization.js
  • ESM: dist/bpmn-visualization.esm.js
  • CommonJS: dist/bpmn-visualization.cjs.js

โš’๏ธ If you want to configure yourself:

  • Install the dependency in your package.json file:
npm i bpmn-visualization
  • In the HTML page:
    • bpmn-visualization script (replace {version} by the recent version)
    • define the container that displays the BPMN diagram. Here bpmn-container
    <script src="https://unpkg.com/bpmn-visualization@{version}/dist/bpmn-visualization.js"></script>
    ...
    <div id="bpmn-container"></div>
  • Define your BPMN content using one of the following ways:
    • Copy/Paste directly the XML content in a variable
    • Load it from a url, like this example
    • Load from your computer, like the demo example
    let bpmnContent; // your BPMN 2.0 XML content
    // initialize BpmnVisualization and load the diagram
    const bpmnContainerElt = document.getElementById('bpmn-container');
    const bpmnVisualization = new bpmnvisu.BpmnVisualization(bpmnContainerElt);
    bpmnVisualization.load(bpmnContent);

๐Ÿ’ก Want to know more about bpmn-visualization usage and extensibility? Have a look at the โฉ live examples site.

For more technical details and how-to, go to the bpmn-visualization-examples repository.

๐Ÿ”ง Contributing

To contribute to bpmn-visualization, fork and clone this repository locally and commit your code on a separate branch.
Please write tests for your code before opening a pull-request:

npm run test  # run all unit & e2e tests

You can find more detail in our Contributing guide. Participation in this open source project is subject to a Code of Conduct.

โœจ A BIG thanks to all our contributors ๐Ÿ™‚

๐Ÿ“ƒ License

bpmn-visualization is released under the Apache 2.0 license.
Copyright ยฉ 2020, Bonitasoft S.A.

Some BPMN icons used by bpmn-visualization are derived from existing projects. See the BPMN Support page for more details:

โšก Powered by

statically.io logo

statically.io (demo and examples live environments)

About

A TypeScript library to visualize process execution data on BPMN diagrams

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 92.1%
  • JavaScript 4.7%
  • HTML 3.0%
  • Other 0.2%
0