Contents:
generate_dag(inputs)
generate_dag
Core logic setting up parent-child structure between nodes