revert graph