Added graph classes node and edge.