build_graphMake a graph of the dependency structure of your workflow.
build_graph(plan, targets = drake::possible_targets(plan),
envir = parent.frame(), verbose = TRUE)workflow plan data frame, same as for function
make().
names of targets to bulid, same as for function
make().
environment to import from, same as for function
make().
logical, whether to output messages to the console.
This function returns an igraph object representing how
the targets in your workflow depend on each other.
(help(package = "igraph")). To plot the graph, call
to plot.igraph() on your graph, or just use
plot_graph() from the start.