Solving Rational Equations: Relationship to Graphs