Solving Systems of Nonlinear Equations Using Graphs