Heat kernel and harmonic maps on infinite graphs