Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Package: bpmnVisualization
Type: Package
Title: BPMN Visualization - R Package
Title: Visualize process execution data on BPMN diagrams
Version: 0.1.0
Authors@R: c(person("Celine", "Souchet", role = c("aut", "cre"), email = "celine.souchet@bonitasoft.com"),
person("Thomas", "Bouffard", role = "aut"))
Description: A R package which embeds BPMN Visualization.
Description: To visualize the execution data of the processes on BPMN diagrams, using overlays, style customization and interactions, with BPMN Visualization.
License: Apache License (== 2)
Copyright: Bonitasoft S.A.
URL: https://github.com/process-analytics/bpmn-visualization-R
Expand Down
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
</div>
<br>

This project is an R interface to the [BPMN Visualization](https://github.com/process-analytics/bpmn-visualization-js) library.
This project is an R package for visualizing process execution data on BPMN diagrams, using overlays, style customization and interactions.

It is made possible by [htmlwidgets](http://www.htmlwidgets.org/), which provides an easy-to-use framework for bringing together R and the [BPMN Visualization](https://github.com/process-analytics/bpmn-visualization-js) TypeScript library.

## ♻️ Usage
### Installation
Expand All @@ -35,16 +37,8 @@ library(bpmnVisualization)
### Load the BPMN file
`bpmnVisualization` accepts a BPMN file (or an XML document):

Load an BPMN example provided by the package

The diagrams files are taken from the [BPMN 2.0 examples non-normative machine readable files](https://www.omg.org/spec/BPMN/2.0)
- Email_Voting.bpmn
- Nobel_Prize_Process.bpmn
- Order_Process_for_Pizza_V4.bpmn
- Travel_Booking.bpmn

```r
bpmn_file <- system.file("examples/Email_Voting.bpmn", package = "bpmnVisualization")
bpmn_file <- system.file("examples/Email_Voting.bpmn", package = "bpmnVisualization") # File from the package
```

Or
Expand All @@ -62,6 +56,13 @@ Or
bpmn_file <- "<?xml version="1.0" encoding="UTF-8"?> ...xml_content"
```

💡 The package provides some [BPMN examples](./inst/examples). \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice ❤️

They are taken from the [BPMN 2.0 examples non-normative machine readable files](https://www.omg.org/spec/BPMN/2.0).
- Email_Voting.bpmn
- Nobel_Prize_Process.bpmn
- Order_Process_for_Pizza_V4.bpmn
- Travel_Booking.bpmn

### Display the BPMN diagram
```r
bpmnVisualization::display(bpmn_file)
Expand Down