resets the state of current graph
this means to set the properties of vertices and edges to default values,
mark=false, model color=0, view color= default color
resets the state of Graph g
this means to set the properties of vertices and edges to default values,
mark=false, model color=0, view color= default color