This repository contains examples showing how to use the bpmn-visualization TypeScript library.
Give a try to the ⏩ live environment to quickly have an overview of the bpmn-visualization
capabilities.
You will find both
bpmn-visualization
in various use cases, in dedicated user oriented situationsSome examples require loading local files. If you are looking for BPMN diagram files, you can use resources from:
Some examples and demos may load ES Modules; in that case, you cannot open html pages directly from your local disk.
For instance, on Chrome, the Console would display the following errors
Access to script at 'file:///...../bpmn-visualization-examples/examples/my-file.js' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. index.html:1
Failed to load resource: net::ERR_FAILED utils.js:1
To access such examples, you need to run a local web server and then access the examples via the http protocol. We advise to make the local web server serve the whole repository, to also be able to access to the demo (resources available in the ./demo
folder).
Go to the repository root and use one the following solutions
python -m SimpleHTTPServer 8001
and go to http://localhost:8001/examples/python3 -m http.server 8002
and go to http://localhost:8002/examples/npx http-server --port 8003 -o ./examples
and your default web browser opens http://localhost:8003/examples/Some examples are provided for direct use in the web browser. If you want to integrate their related code in a project, adaptations may be required.
You can check the examples projects in this repository or the Live IDE examples to know how to bootstrap bpmn-visualization
in a project.
TypeScript's users should also read the paragraph about the TypeScript support in the bpmn-visualization
README especially when using bpmn-visualization
prior version 0.27.0
.
bpmn-visualization
at the same time. The sources of the demo are available in the repository of bpmn-visualization
.bpmn-visualization
to render the monitoring of all process instances for a defined processbpmn-visualization
to visualize prediction data.bpmn-visualization
provided by bpmn-visualization-addons
.bpmn-visualization
in an HTML pagebpmn-visualization
using an online monitoring scenario (with its additional article)bpmn-visualization
usage in browsers
Display BPMN Diagram:
DISCLAIMER: extension points are currently very experimental and are subject to change.
They are mainly hacks to let you see what will be later available in a more integrated way.
Custom BPMN Theme features will be progressively added to bpmn-visualization
. See the Extensions
Milestone.
bpmn-visualization
JavaScript Template - Play with the bpmn-visualization
JavaScript API. Use the template to demonstrate missing features or bugs.bpmn-visualization
TypeScript Template - Play with the bpmn-visualization
TypeScript API. Use the template to demonstrate missing features or bugs.bpmn-visualization
API in Codepen - Experiment bpmn-visualization
integration and API usage live in your browserbpmn-visualization
with bpmn-js
- compare the libraries on BPMN elements rendering, navigation and API usagebpmn-visualization
with kie-editors-standalone
- compare the libraries on BPMN elements rendering and API usagebpmn-visualization
usage in projects
Note: these projects are tested with the Node version defined in the .nvmrc file.
Show how to integrate bpmn-visualization
in project, using various kind of frameworks, build tools and bundlers:
Remember that some projects are also available in live IDE.
To contribute to bpmn-visualization
examples, fork and clone this repository locally and commit your code on a separate branch.
Please add a screenshot of the new rendering when you open a pull-request.
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 🙂
The content of the bpmn-visualization-examples
repository is released under the Apache 2.0 license.
Copyright © 2020-present, Bonitasoft S.A.
statically.io (demo and examples live environments)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4