Adjust calculations on graphs.