render_pmap_shiny: Render process map as a web app

Description Usage Arguments Examples

View source: R/render_pmap_shiny.R

Description

Show the given process map in a Shiny server web application, with ability to adjust the nodes and edges precision in the real time.

Usage

1
2
3
4
5
6
render_pmap_shiny(
   p,
   title = "Process Map",
   nodes_prune_percentage = 0.5,
   edges_prune_percentage = 0.5,
   options = NULL)

Arguments

p

The process map created by create_pmap()

title

The title you want to display on the web page

nodes_prune_percentage

How many percentage of nodes should be pruned. Default is 0.5

edges_prune_percentage

How many percentage of edges should be pruned. Default is 0.5

options

The Shiny server options, such as binding address or listening port.

Examples

1
2
3
4
5
6
7
library(pmap)
# Generate a random eventlog
eventlog <- generate_eventlog()
# Create the process map from the event log
p <- create_pmap(eventlog)
# Render process map as Shiny app
# render_pmap_shiny(p)

pmap documentation built on March 18, 2018, 2:14 p.m.