A browser compatible JavaScript version of the Java DCR Engine (can be found here: https://github.com/tslaats/OODCREngine).
Dynamic Condition Response graphs (DCR graphs) is a business process model tool, which focus oncapturing the business and compliance rules constraining the order of activities and events. Compared toa flow diagram the DCR Graphs only maps possible events and the rules constraining their order. Events can be executed which allows one to use DCR graphs for analyzing such models.(dcrgraphs.https://wiki.dcrgraphs.net/dcr/)
Open the index.html which can be found in the release directory (compiled version of the code) to run the engine.
Followed Scrum agile methodology for development Bulding UI and Front-end solution for the application.
Refer this tutorial for setting up the project first time: https://www.codementor.io/@iykyvic/writing-your-nodejs-apps-using-es6-6dh0edw2o The json-file also needs to be in the directory.
- Install npm if not installed already.
- Then, go to the project directory and install all the dependencies by
$ cd DCRGraph_javaScript
$ npm install
- Build the js files
$ npm run compile
- Run the ./release/index.html on the browser
Make a change in the file, and instantaneously see the updates in the browser
$ npm run watch
To run tests, simply input the following:
$ npm run test