I need to have two pieces of information, given a graph G:
- The number of cliques in G.
- The relative size of those cliques.
For example: there are 3 cliques of size 3, 10 cliques of size 4, 7 cliques of size 5 etc.
I am using Python and I know there are many functions defined in the library networkx. Can anyone help me get these results?