Update graphNode.cpp