add DirectedGraph