Abstract: In this paper, we extend the concepts of primal and
weakly primal ideals for posets. Further, the diameter of the zero
divisor graph of a poset with respect to a non-primal ideal is
determined. The relation between primary and primal ideals in posets
is also studied.