added methods for GraphData