Rational functions and their graphs