@graphty/algorithms / index / transitiveClosure
Function: transitiveClosure() ​
Defined in: algorithms/shortest-path/floyd-warshall.ts:172
Computes the transitive closure of a graph using Floyd-Warshall
Parameters ​
graph ​
The graph to compute transitive closure for
Returns ​
A map of each node to the set of nodes reachable from it