def cliques(graph, threshold=<NUM_LIT:3>):
cliques = []<EOL>for n in graph.nodes:<EOL><INDENT>c = clique(graph, n.id)<EOL>if len(c) >= threshold: <EOL><INDENT>c.sort()<EOL>if c not in cliques:<EOL><INDENT>cliques.append(c)<EOL><DEDENT><DEDENT><DEDENT>return cliques<EOL>
Returns all the cliques in the graph of at least the given size.