Online Prediction on Large Diameter Graphs