bpmn-in-color-moddle

A moddle schema for BPMN in Color

Usage no npm install needed!

<script type="module">
  import bpmnInColorModdle from 'https://cdn.skypack.dev/bpmn-in-color-moddle';
</script>

README

bpmn-in-color-moddle

CI

Read and write BPMN 2.0 diagram files with BPMN in Color extension in NodeJS and the browser.

Usage

import BpmnModdle from 'bpmn-moddle';
import BpmnInColorSchema from 'bpmn-in-color-moddle/resources/bpmn-in-color.json';

const moddle = new BpmnModdle({ color: BpmnInColorSchema });

// import XML with color namespace

Resources

Building the Project

To run the test suite that includes XSD schema validation you must have a Java JDK installed and properly exposed through the JAVA_HOME variable.

Execute the test via

npm test

Perform a complete build of the application via

npm run all

License

Use under the terms of the MIT license.