Update graph.hpp

+comments