Proper scaling of graphs