aryagraph.algorithms.structure.triangles#

aryagraph.algorithms.structure.triangles(g: Any) → NodeMap[source]#

Number of triangles through each node (undirected graphs; self-loops ignored).