A Rational Approach To The Theory Of Graphs