Moved loadGraphData