graph_number_of_cliques

networkx.algorithms.clique.graph_number_of_cliques(G, cliques=None)[source]

Returns the number of maximal cliques in G.

An optional list of cliques can be input if already computed.