• Vertex: Each node is called a vertex
  • Edge: Connection between two vertices
  • Path: The sequence of vertices to go through from traversing from one vertex to another. There can be multiple paths between two vertices
  • Path length: The number of vertices in the path
  • Cycle: Path where the starting vertex and the ending vertex are the same
  • Negative weight cycle: In a weighted graph, if the sum of the weights of all edges of a cycle is negative. Negative weight cycle
  • Connectivity: If there at least one path between two vertices, then they are said to be connected.
  • Degree of a vertex: In unweighted graphs (undirected graph and directed graph), it is the number of edges connecting the vertex. A has a degree of
  • In-degree: In directed graphs, it is the number of edges coming into a vertex A has an in-degree of
  • Out-degree: In directed graphs, it is the number of edges coming out of a vertex A has an out-degree of

Sources