In this article we introduce the zero-divisor graphs ΓP (X) and Γ P ∞ (X) of the two rings CP (X) and C P ∞ (X); here P is an ideal of closed sets in X and CP (X) is the aggregate of those functions in C(X), whose support lie on P . C P ∞ (X) is the P analogue of the ring C∞(X). We find out conditions on the topology on X, under-which ΓP (X) (respectively, Γ P ∞ (X)) becomes triangulated/ hypertriangulated. We realize that ΓP (X) (respectively, Γ P ∞ (X)) is a complemented graph if and only if the space of minimal prime ideals in CP (X) (respectively Γ P ∞ (X)) is compact. This places a special case of this result with the choice P ≡ the ideals of closed sets in X, obtained by Azarpanah and Motamedi in [6] on a wider setting. We also give an example of a nonlocally finite graph having finite chromatic number. Finally it is established with some special choices of the ideals P and Q on X and Y respectively that the rings CP (X) and CQ (Y ) are isomorphic if and only if ΓP (X) and ΓQ (Y ) are isomorphic.