Parse and transform DAGs for sbsched