Added new GraphNode class