Create DirectedGraph.as