Execute functions specified by a DAG (directed acyclic graph)