Giter Site home page Giter Site logo

dgkm / bpmn-js-token-simulation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bpmn-io/bpmn-js-token-simulation

0.0 0.0 0.0 16.53 MB

A BPMN 2.0 specification compliant token simulator.

Home Page: https://bpmn-io.github.io/bpmn-js-token-simulation/modeler.html?e=1&pp=1

License: MIT License

Shell 0.29% JavaScript 92.99% CSS 4.86% HTML 1.86%

bpmn-js-token-simulation's Introduction

bpmn-js Token Simulation

CI

A BPMN 2.0 specification compliant token simulator, built as a bpmn-js extension.

Screencast

Try it on the classic booking example or checkout the full capability demo.

Installation

Install via npm.

npm install bpmn-js-token-simulation

Usage

Add as additional module to bpmn-js.

Modeler

import BpmnModeler from 'bpmn-js/lib/Modeler';
import TokenSimulationModule from 'bpmn-js-token-simulation';

const modeler = new BpmnModeler({
  container: '#canvas',
  additionalModules: [
    TokenSimulationModule
  ]
});

Viewer

import BpmnViewer from 'bpmn-js/lib/NavigatedViewer';
import TokenSimulationModule from 'bpmn-js-token-simulation/lib/viewer';

const viewer = new BpmnViewer({
  container: '#canvas',
  additionalModules: [
    TokenSimulationModule
  ]
});

Build and Run

Prepare the project by installing all dependencies:

npm install

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

# build the library and run all tests
npm run all

# run the full development setup
npm run dev

# spin up the example
npm run start:example

Additional Resources

Licence

MIT

bpmn-js-token-simulation's People

Contributors

nikku avatar philippfromme avatar renovate[bot] avatar barmac avatar marstamm avatar pedesen avatar guchman avatar ashteya avatar chaominruan avatar lukagerlach avatar timkraeuter avatar gcolburn 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.