Skip to contents

Draws a quick base-graphics plot of a dependency graph. Vertices that are calculated fields (present in fields_df$name) are drawn differently.

Usage

plot_dependency_graph(g, fields_df)

Arguments

g

An igraph directed graph from build_dependency_graph().

fields_df

Optional data frame with a name column to mark calculated outputs.

Value

Invisibly returns g.

Examples

if (FALSE) { # \dontrun{
g <- build_dependency_graph(fields)
plot_dependency_graph(g, fields)
} # }