The new BPMN Visualization - R Package is being developed to offer another way to visualize process execution data in R.
Let's see how it works.
First, you need to install the package from Github:
The bpmnVisualization package accepts a BPMN file in XML format.
There are several ways to load this file. However, in this article, we will focus on how to load an example file from the package.
You will find the other ways to load a BPMN file in the README of the package.
At the moment, there are 2 ways to display the BPMN diagram: Just the diagram without overlay or The diagram with overlay(s).
Overlays customization and positioning will be possible in a future version of the package.
You can also use the bpmnVisualization package in a Shiny app.
If you are not familiar with Shiny, it is an R package that makes it easy to build interactive web apps straight from R. You can host standalone apps on a webpage or embed them in R Markdown documents or build dashboards.
The following example displays a BPMN diagram provided as an example by the package, with an overlay on top of a BPMN element.
If you want to participate in Hacktoberfest to promote Open Source development and you don't know where to make a contribution, you can try with the labeled issues from the BPMN Visualization - R Package repository.
We are also waiting for contributions in other repositories. For more information, see this article.
Now, you have everything you need to start your first project with BPMN Visualization in R.
Thank you for reading and I hope I helped or inspired you 😊
We also plan to publish the BPMN Visualization package in CRAN soon.
Follow us to keep up to date on the latest news: