NetworkX

Previous topic

graph_clique_number

Next topic

node_clique_number

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.