cliques_containing_node#

cliques_containing_node(G, nodes=None, cliques=None)[source]#

Returns a list of cliques containing the given node.

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