setGraph reads the graph text file into graph data object
progress
update