DAG common templates