Using BPMN Visualization in R

With the BPMN Visualization TypeScript library, you can visualize process execution data on BPMN diagrams in a web browser, by adding custom overlays and customizing the style of the diagram.

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.

Prerequisites

R Studio or R Console

Installation

First, you need to install the package from Github:

Load a BPMN file

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.

Display the BPMN diagram

At the moment, there are 2 ways to display the BPMN diagram: Just the diagram without overlay or The diagram with overlay(s).

Just the diagram

The diagram with overlays

Overlays customization and positioning will be possible in a future version of the package.

Integrate in a Shiny App

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.

Participation in Hacktoberfest 2021

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.

If you have any questions — let us know directly on GitHub issues or via Twitter.

Conclusion

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:

--

--

--

Rapidly display meaningful Process Analytics components in your web pages using BPMN 2.0 notation and Open Source libraries. https://process-analytics.dev/

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Meteor Candy 2: It’s All About Your Input

BeautifulSoup Vs Selenium

AutoScaling CloudFormation Template with Lono

Reduce Cost and Increase Productivity with Value Added IT Services from buzinessware — {link} -

TryHackMe write-up: Chocolate Factory

Refill Themes — Part 1

Mallorca in black and white themes in Refill

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Process Analytics

Process Analytics

Rapidly display meaningful Process Analytics components in your web pages using BPMN 2.0 notation and Open Source libraries. https://process-analytics.dev/

More from Medium

Using Value-at-Risk and Expected Tail Loss Packages in R.

Physician Preference Items: Data Analysis Is The Key To Cost Savings

📚 Four Books about Data and Human Bias You Should Read

Combining Spotify and R — An Interactive Rshiny App + Spotify Dashboard Tutorial