Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bpmn-io/vue-bpmn

Display BPMN 2.0 diagrams in Vue.js
https://github.com/bpmn-io/vue-bpmn

bpmn-js vuejs

Last synced: 7 days ago
JSON representation

Display BPMN 2.0 diagrams in Vue.js

Awesome Lists containing this project

README

        

# vue-bpmn

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

Use [bpmn-js](https://github.com/bpmn-io/bpmn-js) to display BPMN 2.0 diagrams in a [Vue.js](https://vuejs.org) application.

## Usage

```html

import VueBpmn from 'vue-bpmn';

export default {
components: {
VueBpmn
},
data() {
return {
options: {
propertiesPanel: {},
additionalModules: [],
moddleExtensions: []
}
}
},
methods: {
handleError: function(err) {
console.error('failed to show diagram', err);
},
handleShown: function() {
console.log('diagram shown');
},
handleLoading: function() {
console.log('diagram loading');
}
}
};

```

Note that the diagram will be loaded via ajax from the given `url` and thus must be served by your app.

## Resources

* [Issues](https://github.com/bpmn-io/vue-bpmn/issues)
* [Example](./example)

## License

MIT