Giter Site home page Giter Site logo

vishalthapaliya / bpmn-visualization-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from process-analytics/bpmn-visualization-examples

0.0 0.0 0.0 7.4 MB

BPMN visualization library usage examples

License: Apache License 2.0

Shell 10.74% JavaScript 27.17% TypeScript 36.89% CSS 10.73% HTML 14.46%

bpmn-visualization-examples's Introduction

BPMN Visualization Examples


examples overview

PRs Welcome Contributor Covenant License

This repository contains examples showing how to use bpmn-visualization.

๐ŸŽฎ Live Environment

Give a try to the โฉ live environment to quickly have an overview of the bpmn-visualization capabilities.

You will find both

  • demos: show what you can do with bpmn-visualization in various use cases, in dedicated user oriented situations
  • examples: demonstrate how to use a single feature.

๐Ÿ“– Getting BPMN Diagrams

Some examples require loading local files. If you are looking for BPMN diagram files, you can use resources from:

๐Ÿ–ฅ๏ธ Running examples locally

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

๐Ÿšธ Prerequisites for reuse in projects

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 users should also read the paragraph about the TypeScript support in the bpmn-visualization README.

๐Ÿ‘๏ธโ€๐Ÿ—จ๏ธ Demos

๐Ÿ”ญ Examples

bpmn-visualization usage in browsers

Basic examples

Display BPMN Diagram:

Diagram navigation examples

Overlay examples

Custom BPMN Theme examples

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.

Custom behavior examples

Miscellaneous examples

Playgrounds in live IDE

Compare with other libs

bpmn-visualization usage in projects

Show how to integrate bpmn-visualization in project, using various kind of build tools and bundlers:

Remember that some projects are also available in live IDE.

๐Ÿ”ง Contributing

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 ๐Ÿ™‚

๐Ÿ“ƒ License

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

โšก Powered by

statically.io logo

statically.io (demo and examples live environments)

bpmn-visualization-examples's People

Contributors

aibcmars avatar alachambre avatar benjaminparisel avatar csouchet avatar dependabot[bot] avatar dumitrucorini avatar kylejohnston avatar process-analytics-bot avatar tbouffard avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.