Added default values for vertex and edge states in GraphWidget