Working on read and write graphs.