networkx.number_of_cliques
Clustering
Enter search terms or a module, class or function name.
Returns a list of cliques containing the given node.
Returns a single list or list of lists depending on input nodes. Returns a dict keyed by node if “with_labels=True”. Optional list of cliques can be input if already computed.