Bruce
Bruce

Reputation: 35233

Python: create graph based on degree correlation

I want to create a graph using networkx which has positive or negative degree correlation. Like a graph for a social network or citations in academic papers etc. Can you suggest some function for this?

Upvotes: 2

Views: 546

Answers (1)

jkp
jkp

Reputation: 81278

If you are talking about producing a visual graph (diagram) you could look at using matplotlib to generate them. I'm not sure if there is going to be a single function that will do what you want (not enough detail) but its a comprehensive library used in many projects to achieve complex graphing related tasks.

Upvotes: 1

Related Questions