Update DiGraph.java