Added graph class