Note
This documents the development version of NetworkX. Documentation for the current release can be found here.
number_of_cliques
Returns the number of maximal cliques for each node.
Returns a single or list depending on input nodes. Optional list of cliques can be input if already computed.