graph,node,edge defined