Add function for retrieving the next DAG node