Start with a really simple case. Take Q=[0,1] in R. Take f(x)=x. Then the 'graph' is the diagonal of the square [0,1]x[0,1] in R^2. Can you show that graph has zero measure in R^2? How would you modify that argument to handle the general case? Hint: f is in fact uniformly continuous since the domain is compact.
I think I can easily find countably many rectangles to cover the diagonal you are talking about. Something like if I take all the intervals on the line, all of length 1 let's say, then I can cover the interval by n squares with height epsilon/n. Then if I take the union of them, I'll get the volume is less than epsilon in summation.
That's not super clear, but ok. So now instead of f(x)=x, take f(x) to be any continuous function. Do you believe f(x) is uniformly continuous? Can you prove it? If so then just recite the definition of uniform continuity. For every epsilon>0 there exists a delta>0 such that... Given that how many rectangles do you need to cover [0,1]? What's the area of each rectangle? What's the total area? Now let epsilon approach 0.
It's uniformly continuous since it is continuous on a compact set, right?
So for every epsilon > 0 there exists delta > 0 s.t. |x-y|< delta implies |f(x) - f(y)| < epsilon. I've got that I think.
But I need something else to connect that and the rectangles. I'm horrible at picturing things, so that won't help. I'm just not sure how to define the rectangles in order to ensure they cover G(f). I simply don't see it.
I am trying to get you to figure out how to solve an less complicated version of the problem so the notational details don't get in the way of understanding how the proof works. If you can do the problem for the case f:[0,1]->R, I think you can figure out how to generalize it to f:Q->R.