Plot Method for Delayed Objects

# S3 method for Delayed
plot(x, color = TRUE, height = "500px", width = "100%", ...)

Arguments

x

An object of class Delayed for which a task dependency graph will be generated.

color

If TRUE, color-code nodes according to status, and display legend

height

passed to visNetwork

width

passed to visNetwork

...

Additional arugments (passed to visNetwork).

Examples

adder <- function(x, y) { x + y } delayed_adder <- delayed_fun(adder) z <- delayed_adder(3, 4) z2 <- delayed_adder(z, 4) z2$sequential <- TRUE z3 <- delayed_adder(z2, z) plot(z3)