Update graph_generate.h