modify Graph.h, ProtocolGraph.h, ProtocolGraph.cpp