dodgr_components() identifies the semi-connected components of a directed graph, i.e. the disjoint subgraphs with a path existing from i to j OR from j to i for each i-j pair.
The main purpose for this in real terms that I can see is to filter out isolated disconnected nodes and links, such that origin and destination node sets do not snap to them and become unroutable.
However, if there is only a one-way street linking an isolated section to the rest of the network, then dodgr_components() would return them as a single component despite one direction being unroutable.
Thus, it may be helpful to have a "strong" setting within dodgr_components() that finds the maximal disjoint subgraphs with a path existing from i to j AND from j to i for each i-j pair.
dodgr_components() identifies the semi-connected components of a directed graph, i.e. the disjoint subgraphs with a path existing from i to j OR from j to i for each i-j pair.
The main purpose for this in real terms that I can see is to filter out isolated disconnected nodes and links, such that origin and destination node sets do not snap to them and become unroutable.
However, if there is only a one-way street linking an isolated section to the rest of the network, then dodgr_components() would return them as a single component despite one direction being unroutable.
Thus, it may be helpful to have a "strong" setting within dodgr_components() that finds the maximal disjoint subgraphs with a path existing from i to j AND from j to i for each i-j pair.