If you're interested in custom elements in general, head over to our 📓 custom-elements guide to get an overview first.
bpmn-js + = auto-win.
This projects bundles lovely nyan cats into a custom BPMN 2.0 modeler.
Stand out and integrate nyan cats into your next BPMN Modeler!
import BpmnModeler from 'bpmn-js/lib/Modeler';
import resizeAllModule from 'bpmn-js-nyan/lib/resize-all-rules';
import colorPickerModule from 'bpmn-js-nyan/lib/color-picker';
import nyanDrawModule from 'bpmn-js-nyan/lib/nyan/draw';
import nyanPaletteModule from 'bpmn-js-nyan/lib/nyan/palette';
var bpmnJS = new BpmnModeler({
additionalModules: [
resizeAllModule,
colorPickerModule,
nyanDrawModule,
nyanPaletteModule
]
});
To build, lint and test the project run
npm install
npm run all
To spin up the test interactively in the browser, execute
npm run dev
Visit localhost:9876/debug.html in your browser.
If you enjoy nyan cats you might be interested in these related examples, too:
MIT