Evaluating Functions From A Graph