Mutual Reachability in a Directed Graph
Strong connectivity requires that each vertex in a component can reach each other through directed edges.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 4
- Reading time
- 1 min
In this article4 chapters
Compare a cycle with an outgoing link
With A to B, B to A, and B to C, A and B reach one another. C cannot return to either, so it is its own strongly connected component. Reachability is checked in both directions.
Examine the undirected shadow
Ignoring arrow directions puts all three in one connected component. That is weak connectivity. Strongly connected components give algorithms for finding the directed groups in a larger graph.[1]
Exhibit both directions of reachability within a group
Suppose A, B and C form the cycle A to B to C to A. An additional edge C to D allows their vertices to reach D. If D has no path back, it belongs to a separate strongly connected component. See reversing a graph.
A reaches D via B,C
D reaches only itself
Components: {A,B,C}, {D}
Between components there is one direction of travel
Compare with ignoring arrows
Forgetting directions makes all four vertices connected in this example. That is weak connectivity. If the strongly connected groups are contracted into nodes, a cycle among distinct groups would imply mutual reachability and require merging them.