A method for the plot
generic that plots a diagram of the given trajectory.
# S3 method for trajectory
plot(x, engine = "dot",
fill = scales::brewer_pal("qual"), verbose = FALSE, ...)
a simmer trajectory.
a string specifying a layout engine (see grViz
).
discrete color palette for resource identification.
show additional info directly in the labels.
additional parameters for render_graph
.
Returns an htmlwidget
.
x <- trajectory() %>%
seize("res", 1) %>%
timeout(1) %>%
release("res", 1) %>%
rollback(3)
plot(x)