The annihilating-ideal graph of commutative rings II