A vertex is the core building block of a graph and the objects to which edges are connected.
Example of a graph with 5 vertices
and 5 edges .
The degree of a vertex is the number of edges connected to it. The degree of a vertex
The in and out degrees are special property of vertices with directed edges. The in and out degrees of a vertex
In Degree
Out Degree
Total Degree