Add a block to read graphs.