Graph Node Prediction Algorithm