Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Initial BPMN
  • Loading branch information
sjhoeksma committed Feb 24, 2024
commit 19bc44e3e9b061cf3582066bf52f434ef3a99d85
13 changes: 13 additions & 0 deletions lowcoder-comp-bpmn-io/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Using the Lowcoder BPMN.io plugin

![bpmn-js](https://github.com/sjhoeksma/lowcoder-create-component-plugin/blob/lowcoder-comp-bpmn-io/lowcoder-comp-bpmn-io/images/bpmn-js.gif?raw=true)
This plugin enables the usage of [bpmn-js](https://bpmn-js.io) within lowcoder. To use this plugin. Open your lowcoder environment goto the app. Select insert tab, extensions and plugins and add: **lowcoder-comp-bpmn-io**

Edit properties explained:
* **xml**: contains the xml of the bpmn flow. When you load it from a query in none designer mode, for example by `{{query1.data.length>0 ? query1.data[0].xml : ""}}` you can replace variables ex."{{myvalues}}" stored within xml. For example the {{myvalues}} will be replaces with the one within **values** otherwise it is removed
* **values**: Object contain values which will be replaced when using a query. Only works in none designer mode
* **Designer mode**: should we use desinger mode. The onChange event is trigger on editing. The data is available by using referencing `.xml` of the component
* **Image Download**: when enabled you can download the image as svg using the icon in upper rightcorner
* **Download Name**: The name of the image to download
* **onChange**: This event triggers in designer mode when the xml has changed. You can access the changed xml by referencing `.xml` of the component
* **Show BPMN.io logo**: You can turn of the BPMN.io logo, but make sure your are [entitled](https://forum.bpmn.io/t/license-questions/85)