direct acyclic graphic