NetworkX

Previous topic

networkx.algorithms.clique.graph_number_of_cliques

Next topic

networkx.algorithms.clique.number_of_cliques

networkx.algorithms.clique.node_clique_number

networkx.algorithms.clique.node_clique_number(G, nodes=None, cliques=None)

Returns the size of the largest maximal clique containing each given node.

Returns a single or list depending on input nodes. Optional list of cliques can be input if already computed.