Generalizing Downsampling from Regular Data to Graphs