Direct Acyclic Graph solution completed