Added state() function to graph