add gvertex, gedge