plot_graphAOA {critpath}R Documentation

A graph of connections between nodes

Description

A graph of connections between nodes

Usage

plot_graphAOA(input_data, predecessors = FALSE, solved = NULL, fixed_seed = 23)

Arguments

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).

Value

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.

Examples

plot_graphAOA(cpmexample1)
x <- solve_pathAOA(cpmexample1, TRUE)
plot_graphAOA(solved = x)

[Package critpath version 0.2.2 Index]