It is known that a strict contraction on a complete metric space with a graph possesses a fixed point. In the present paper, we show that this property holds for single valued and set-valued self-mappings of metric spaces with graphs that are of the contractive type. We also show the convergence of iterates of these mappings to fixed points. In particular, our results are true for metric spaces with symmetric graphs.