Description Usage Arguments Examples
View source: R/render_pmap_shiny.R
Show the given process map in a Shiny server web application, with ability to adjust the nodes and edges precision in the real time.
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)
|
p |
The process map created by |
title |
The title you want to display on the web page |
nodes_prune_percentage |
How many percentage of nodes should be pruned. Default is |
edges_prune_percentage |
How many percentage of edges should be pruned. Default is |
options |
The Shiny server options, such as binding address or listening port. |
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.