-- Original fork (in case you do not want to add an extra dependency for that specific use case): https://github.com/sabatale/filebrowser -- Adds bpmn-js (new dependency) integration for diagrams: https://github.com/bpmn-io/bpmn-js. Any .bpmn file will open with the bpmn-js viewer instead of showing up as an XML file. No side-effects to be exepected since this introduces a new getter (IsDiagrams) for .bpmn extensions. You can drag the diagram around and zoom in/out as well. Use the folder "demo diagrams" for an actual .bpmn example as well as some extra documentation.
31 lines
907 B
Markdown
31 lines
907 B
Markdown
<p align="center">
|
|
<h2>BPMN-JS Integration</h2>
|
|
<h3>View diagrams in filebrowser!</h3>
|
|
</p>
|
|
|
|
> ⚠ WARNING: **In case the .bpmn still opens in the Files Editor, try adding the mime regedit entry locally. See [the official GOlang documentation](https://golang.org/pkg/mime/) for more info about "TypeByExtension"!**
|
|
|
|

|
|
|
|
|
|
Nowadays, business diagrams follow the universal BPMN standard.
|
|
|
|
The open-source solution bpmn-js from BPMN.io makes it very easy to view and build such diagrams.
|
|
|
|
This new filebrowser feature enables the integration with bpmn-js for viewing only.
|
|
|
|
## Features
|
|
|
|
Open any .bpmn file to view the diagram.
|
|
|
|
You can click and hold the mouse in order to move the diagram around.
|
|
|
|
You can also zoom with CTRL + Scroll!
|
|
|
|
## To do
|
|
|
|
Add bpmn-js extensions.
|
|
|
|
## Author
|
|
Alexandre S.
|