Prove that graph of a continuous function from a connected metric space M into the metric space N is a connected set.
I have absolutely no idea how to go about this question. Initially what I thought was to approach using contradiction but I am unsure how to do that.