Warning

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

graph_clique_number

graph_clique_number(G, cliques=None)[source]

Return the clique number (size of the largest clique) for G.

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