bpmn-in-color-moddle
v0.2.0
Published
A moddle schema for BPMN in Color
Downloads
1,540
Readme
bpmn-in-color-moddle
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.