Source: Graham, Saints agree to $40M deal