Graph Theory#

Graph theory is the study of graphs, which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of vertices (also called nodes or points) which are connected by edges (also called arcs, links, or lines). A distinction is made between undirected graphs, where edges link two vertices symmetrically, and directed graphs, where edges link two vertices asymmetrically. Graphs are one of the principal objects of study in discrete mathematics.


Graphs

A graph is a pair (\(V\), \(E\)) consisting of a non-empty set of vertices \(V\) and a set of edges \(E\).

./graphs
Directed Graphs

A directed graph is a pair (\(V\), \(E\)) consisting of a non-empty set of vertices and a set of directed edges.

./directed_graphs