Skip to contents

This function generates a DOT file representation of the pipeline DAG, suitable for visualization, potentially on CI platforms. It is called by rxp_ga().

Usage

dag_for_ci(
  nodes_and_edges = get_nodes_edges(),
  output_file = "_rixpress/dag.dot"
)

Arguments

nodes_and_edges

List, output of get_nodes_edges(). Defaults to calling get_nodes_edges().

output_file

Character, the path where the DOT file should be saved. Defaults to "_rixpress/dag.dot". The directory will be created if it doesn't exist.

Value

Nothing, writes the DOT file to the specified output_file.

See also

Other ci utilities: generate_dag(), rxp_ga()

Examples

if (FALSE) { # \dontrun{
  # Generate the default _rixpress/dag.dot
  dag_for_ci()

} # }