client parse the dag