GRAPHS AND FUNCTIONAL EQUATIONS