Update BasicGraph.java