A directed graph can look like one connected network while allowing movement only toward one end. Ignoring arrow direction proves a weaker property than being able to return from every reachable node.

Strongly connected components separate the parts within which every vertex can reach every other vertex. Contracting those parts produces a simpler directed graph that preserves the possible progression between components. This is useful for interpreting an abstract robot workflow or route graph, provided the arrows have a clearly declared meaning.

The six-node network below is invented. It is not a physical navigation map, a reachability test of a robot, or an executed graph-library result. Edges describe permitted abstract transitions with no time, capacity, or collision model.

List every directed link

Use vertices A, B, C, D, E, and F. The complete directed edge list is A→B, B→A, B→C, C→D, D→C, D→E, E→F, and F→E. There are eight links, and every unlisted directed link is absent.

If arrowheads are discarded, the drawing is connected. This is weak connectivity for the directed graph: its underlying undirected graph has one component.

Direction changes the reachability question. A can reach F through A→B→C→D→E→F. F can reach E, but neither has an outgoing link back to D or any earlier vertex. F therefore cannot return to A.

The graph is weakly connected but not strongly connected. Finding one long directed route through all six vertices does not establish all-pairs returnability.

Build the mutually reachable sets

A and B can reach each other directly. C and D can reach each other directly, as can E and F. These pairs form three strongly connected components: P = {A,B}, Q = {C,D}, and R = {E,F}.

Yale's authored class notes define a component as a maximal mutually reachable subset. Maximal matters: a single vertex A is mutually reachable with itself using a zero-length path, but it is not a maximal component here because B can be included.

P cannot absorb C, because C cannot return to A or B. Q cannot absorb E, because E cannot return to C or D. Thus each pair is complete with respect to the mutual-reachability criterion, rather than merely a convenient visual grouping.

Count reachability without assuming symmetry

Count a vertex as reachable from itself by a path of zero edges. From A or B, all six vertices are reachable. From C or D, exactly C, D, E, and F are reachable. From E or F, only E and F are reachable.

The total number of reachable ordered pairs is therefore 2×6 + 2×4 + 2×2 = 24, including six self-pairs. Excluding those self-pairs leaves eighteen reachable ordered pairs out of thirty possible pairs of distinct vertices.

Ordered pairs are essential. A→F reachability and F→A reachability are two different questions. Counting an unordered pair once would hide precisely the directional limitation this example illustrates.

Contract the components

Replace each component by one node. The original B→C link becomes P→Q, and D→E becomes Q→R. All six within-pair links disappear into their component nodes. The contracted graph is the chain P→Q→R.

NetworkX calls this contraction a condensation graph and documents a mapping from original vertices to component membership. Its component-node integer labels are bookkeeping identifiers, not physical coordinates or an inherent priority ranking.

The component graph is a directed acyclic graph. If distinct components formed a directed cycle, each could reach every other around that cycle. Their vertices would then be mutually reachable and should have belonged to one larger component. This contradicts their separation into maximal components.

The proof explains the acyclic result independently of any particular algorithm or library output.

A forward shortcut does not restore returnability

Add A→F while retaining all original links. It becomes P→R in the condensation graph. That edge skips an intermediate component, but A could already reach F through the existing chain.

The three strongly connected components remain unchanged, and the all-pairs reachability count remains twenty-four including self-pairs. The shortcut could matter to a separately defined distance or travel-time objective, but it creates no new reachable ordered pair in this unweighted example.

Now consider adding F→A instead. The component graph gains R→P, completing a directed cycle P→Q→R→P. Every component can then reach every other, so all six original vertices merge into one strongly connected component.

All thirty ordered pairs of distinct vertices are reachable in that modified graph. One backward link changed the mutual-reachability structure much more than the earlier forward shortcut.

Partial merging gives another check

Starting again from the original graph, add E→D. The old D→E link already provides movement from Q to R. The new link provides movement from R back to Q, merging {C,D,E,F} into one component.

The pair {A,B} remains separate because there is still no path from the merged component back to A or B. The new condensation graph contains two nodes with one arrow from the first to the second.

Reversing every original arrow offers a different operation. The three component memberships remain the same, because mutual reachability survives reversal. The condensation chain reverses direction, so which components can reach which others changes.

Preserve what contraction does not retain

A singleton component need not have a self-loop: its zero-length self-path is sufficient. A component label also does not select a unique internal route, preserve every travel cost, or establish that a physical robot can execute the transitions.

For a directed model, retain arrow semantics, component membership, and the mapping back to original vertices. Weak connectivity describes the undirected support; strong components describe mutual reachability; their condensation describes possible one-way progression between those regions.

Sources checked October 24, 2026:

https://www.cs.yale.edu/homes/aspnes/pinewiki/StronglyConnectedComponents.html — James Aspnes, Yale class notes static archive, maximal mutual-reachability definition read. The archive identifies former class notes from 2003–2012; no current algorithm implementation is inferred.

https://networkx.org/documentation/stable/reference/algorithms/generated/networkx.algorithms.components.condensation.html — NetworkX 3.7 condensation documentation as accessed; component contraction, member mapping, and directed-acyclic result read. No NetworkX execution or component-number ordering is claimed.

Illustration note: A generic robot and laptop workspace is a concept illustration. It does not depict these invented values, a measured robot result, or an executed software test.