move ivertexnum to graphbase class
improve the No edge and no value circumstance