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-sketchy

A sketchy renderer for bpmn-js.
https://github.com/bpmn-io/bpmn-js-sketchy

bpmn bpmn-js handdrawn sketchy

Last synced: about 2 months ago
JSON representation

A sketchy renderer for bpmn-js.

Awesome Lists containing this project

README

        

# bpmn-js-sketchy

[![CI](https://github.com/bpmn-io/bpmn-js-sketchy/actions/workflows/CI.yml/badge.svg)](https://github.com/bpmn-io/bpmn-js-sketchy/actions/workflows/CI.yml)

A sketchy renderer for [bpmn-js](https://github.com/bpmn-io/bpmn-js). [__:arrow_right: Try it out__](https://cdn.statically.io/gh/bpmn-io/bpmn-js-sketchy/main/demo/index.html).

![sketchy renderer at work](docs/screenshot.png)

## Usage

Extend bpmn-js with the sketchy renderer module:

```javascript
import modeler from 'bpmn-js/lib/Modeler';

const modeler = new Modeler({
// ...
additionalModules: [ sketchyRendererModule ]
});
```

For the full sketchy experience, you must configure bpmn-js to use a hand drawn font, for example [Virgil](http://www.eaglefonts.com/fg-virgil-ttf-131249.htm).

Check out [the demo](./demo) or [this test](test/SketchyRendererSpec.js#L42) for more information.

__To view sketchified diagrams you must have the font installed on your computer.__

## Licence

MIT