From a purely abstract point of view, a graph is a pair consisting of nodes N and links L. The nodes are just a set, often taken to be the positive integers from 0 to n-1; the links are a subset of