Skip to contents

Creates a JSON representation of a directed acyclic graph (DAG) based on dependencies between derivations.

Usage

generate_dag(rxp_list, output_file = "_rixpress/dag.json")

Arguments

rxp_list

A list of derivations, each with a name and snippet, output of rxp_r().

output_file

Path to the output JSON file. Defaults to "_rixpress/dag.json".

Value

Writes a JSON file representing the DAG.