On Beck’s zero-divisor graph