nexus_graph_transclosure_impl
- :
H =transclosure(G)¶ Return the transitive closure of digraph G.
The nodes in H are the same as those in G. If there is a path from node i to node j in G (of any positive length), then H contains an edge from i to j. Multiple edges between the same pair of nodes are replaced by a single edge. Edge properties of G are dropped; G.Nodes is preserved when present.
MATLAB R2026a parity (nexus#2328). Input must be a digraph.