Now with Graphs. Updated the PDF.