Warning

This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.

graph_number_of_cliques

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.