Update NodeGraph.java