Graph¶

A graph as a mathematical abstraction is a combination of two sets — a set of objects themselves, called a set of vertices, and a set of their pairwise connections, called a set of edges.