Analysis on graphs and its applications