View source: R/criticalpath_methodsAOE.R
plot_graphAOA | R Documentation |
A graph of connections between nodes
plot_graphAOA(input_data, predecessors = FALSE, solved = NULL, fixed_seed = 23)
input_data |
Data frame describing the problem. |
predecessors |
TRUE if the user data contains a list of immediately preceding activities |
solved |
List of objects that make up the solution to the project management problem. |
fixed_seed |
Optional parameter setting random seed to user value to get similar looking plots each time the function is run (set to 23 by default). |
The function draws a graph showing dependencies between nodes. The "solved" parameter determines whether there is a critical path in the graph. In that case, you must solve the problem first. In the examples below, the function first draws the graph only on the basis of the data frame and then after determining the critical path.
plot_graphAOA(cpmexample1)
x <- solve_pathAOA(cpmexample1, TRUE)
plot_graphAOA(solved = x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.