return graph data