In mathematics, we call a visual representation of a network a graph. A graph is a collection of points, called vertices, and line segments connecting those points, called edges. The number of edges that belong to a vertex is called the degree of the vertex.