Graph Terminology II
Explore fundamental graph concepts such as cycles, reachability, and connectivity. Understand the difference between undirected and directed graphs, learn about strong and weak connectivity, and grasp how shortest paths determine distances between nodes.
We'll cover the following...
We'll cover the following...
Cycles
A cycle is similar to a path, except that its first and last nodes are identical. In other words, a cycle is like a path that loops back into itself.
The following example graph shows the cycle marked in blue.
A cycle with three edges.
In an undirected graph, a single edge between nodes and consists of the two “half-edges” and . However, the walk ...