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