Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bpmn-io/bpmn-js-nyan

bpmn-js, nyan cat style :rainbow: :cat:
https://github.com/bpmn-io/bpmn-js-nyan

bpmn-js

Last synced: 3 months ago
JSON representation

bpmn-js, nyan cat style :rainbow: :cat:

Awesome Lists containing this project

README

        

> If you're interested in custom elements in general, head over to our [:notebook: custom-elements guide](https://github.com/bpmn-io/bpmn-js-examples/tree/master/custom-elements) to get an overview first.

# bpmn-js-nyan

[![CI](https://github.com/bpmn-io/bpmn-js-nyan/workflows/CI/badge.svg)](https://github.com/bpmn-io/bpmn-js-nyan/actions?query=workflow%3ACI)

[bpmn-js](https://github.com/bpmn-io/bpmn-js) + !["nyan cat in the wild"](./docs/cat.gif) = auto-win.

This projects bundles lovely nyan cats into a custom BPMN 2.0 modeler.

## About

Stand out and integrate nyan cats into your next BPMN Modeler!

!["nyan cat in bpmn-js"](./docs/screencast.gif)

## Great Features

* [Custom Colors](./lib/color-picker)
* [Nyan Cats](./lib/nyan)
* [Resize all elements](./lib/resize-all-rules)

## Usage

```javascript
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
]
});
```

## Building

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](http://localhost:9876/debug.html) in your browser.

## Related

If you enjoy nyan cats you might be interested in these related examples, too:

* [Colors](https://github.com/bpmn-io/bpmn-js-examples/tree/master/colors)
* [Custom Elements](https://github.com/bpmn-io/bpmn-js-examples/tree/master/custom-elements)
* [Custom Modeling Rules](https://github.com/bpmn-io/bpmn-js-examples/tree/master/custom-modeling-rules)
* [Theming](https://github.com/bpmn-io/bpmn-js-examples/tree/master/theming)

## License

MIT