Graph class added