Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bergant/bpmn

BPMN diagrams in R
https://github.com/bergant/bpmn

bpmn bpmn-js business-process diagram flowchart htmlwidget htmlwidgets r

Last synced: 3 months ago
JSON representation

BPMN diagrams in R

Awesome Lists containing this project

README

        

---
output:
html_document:
keep_md: yes
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```

# bpmn

[![Build Status](https://travis-ci.org/bergant/bpmn.svg?branch=master)](https://travis-ci.org/bergant/bpmn)

## Overview
bpmn is an R interface to the [bpmn-js](https://github.com/bpmn-io/bpmn-js) library (a BPMN 2.0 rendering toolkit and web modeler) from [bpmn.io](https://bpmn.io/). Using JavaScript in R is handled by [htmlwidgets](http://www.htmlwidgets.org/) framework.

## Installation
Install from GitHub:

```{r, eval=FALSE}
devtools::install_github("bergant/bpmn")
```

## Usage

```{r}
library(bpmn)
```

`bpmn` widget accepts a BPMN file (or an XML document):

```{r eval=FALSE}
bpmn_file <- system.file("examples/qr-code.bpmn", package = "bpmn")
bpmn(bpmn_file)
```

See bpmn widget in action on https://bergant.github.io/bpmn/.

## Licenses

This package: MIT License

See [license file](inst/htmlwidgets/lib/bpmn-js/LICENSE) for
the included **bpmn-js** library