Vertices and Edges Edge Direction Vertex Degree and Vertex Classes Derived Graphs Graph TransposeComplete GraphComplement Graph Density Graph Attributes Graph Representation in Computers Our Graph Representation Creating graphs, dealing with vertices Testing for and adding edges Returning edges Density, degrees, and vertex classes Deleting edges and vertices Graph attributes Displaying graphs Graph Traversal Depth-First Search Topological Sortmake as a topological sort Breadth-First Search Implementing Graph TraversalImplementing depth-first traversalImplementing breadth-first traversal Paths and Bridges The Seven Bridges of Königsberg Graph Biology: Trees, Forests, DAGS, Ancestors, and Descendants Parents and ChildrenEdge and Graph Classes Edge Classes Graph Classes: Connectivity BiconnectivityStrongly Connected Graphs Minimum Spanning Trees Kruskal’s minimum spanning tree Prim’s minimum spanning tree Shortest Paths Single-source shortest paths Dijkstra’s single-source shortest pathsBellman-Ford single-source shortest pathsDAG single-source shortest paths All-pairs shortest paths Transitive Closure Flow Networks Ford-Fulkerson Edmonds-Karp Traveling Salesman Problem CPAN Graph Modules