I have installed networkx and matplotlib packages. How can I generate a power law graph based on degree correlation i.e. graphs with high or low degree of homophily
+1
A:
Have you looked at the examples on the Networkx site? This example might help you get started with this.
There are also a number of functions within Networkx which generate random graphs which will probably be helpful. Have a look for the random_powerlaw_tree(....) function detailed in the graph generators section of the documentation.
Binary Nerd
2010-01-22 23:55:17