I want to create a graph using networkx which has positive or negative degree correlation. Like a graph for a social n开发者_JAVA百科etwork or citations in academic papers etc. Can you suggest some function for this?
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.
精彩评论