Noel-Bastubbe / for-Construction-Modeling

Prototype for construction modeling using fragment-based Case Management
MIT License
7 stars 1 forks source link

fCM-js

Modeling Tool with Design-Time Support for Fragment-Based Case Management.

:rocket: Try it live! :rocket:

fcm-js is a modeling tool for fragment-based case management. It aims at supporting users at design time by providing a joint, visual user interface for all artifacts and by integrating automated guideline checking based on fCM guidelines.

The catalog of fCM guidelines is also available in this repository in the wiki.

User Guide

Installation

Node needs to be installed for the modeler to run.

To install the modeler, clone this repository on your machine. To start, navigate to the installation folder and enter the following into your command line:

npm install
npm run build
npm run serve

The modeler is then served to http://localhost:9005.

When developing, the following can be run to automatically re-bundle on changes:

npm run dev

Usage

There are a demo video and a use case tutorial to showcase how to use fcm-js.

Developer Guide

Structure Overview

The repository is structured as follows:

Branch Naming

Branch names have the following structure: <type>/<issue-number>-<issue-name>

Experimental branches may use the structure experimental/<anything>

Guideline Interface

The guidelines are integrated via a unified interface. They can be found in app/lib/guidelines. Here the actual guidelines are implemented in Guidelines.js while the checking component is located in Checker.js. Every guideline consists of the following components:

For every returned element in the getViolations() function the follwing must be returned:

A new guideline can therefore be implemented by adding the code in the described format in the export default array in the Guidelines.js file.

License

MIT

Contains parts of bpmn-io released under the bpmn.io license, and diagram-js and object diagram modeler released under the MIT license.