all_triads
A generator of all possible triads in G.
G (digraph) – A NetworkX DiGraph
all_triads – Generator of triads (order-3 DiGraphs)
generator of DiGraphs