Inefficient but technically complete graph theory library.
Still a work in progress. There's some cool stuff in graphDraw
but the rest is
extraordinarily subpar compared to a real graph data library. Use one of those.
Mathematics cribbed from Introduction to Graph Theory by Richard J. Trudeau.