Update Graph.cpp

From fwjmath http://equn.com/forum/thread-39252-2-1.html 27#