-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathreadme.Rmd
48 lines (32 loc) · 1.03 KB
/
readme.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
output:
html_document:
keep_md: yes
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
<img align = "right" src = "img/readme.png"/>
# bpmn
[](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