Added graph data caching