Note
This documents the development version of NetworkX. Documentation for the current release can be found here.
triads_by_type
Returns a list of all triads for each triad type in a directed graph.
G (digraph) – A NetworkX DiGraph
tri_by_type – Dictionary with triad types as keys and lists of triads as values.
dict