title: Python : generate a graph for a social network
body: <p>I have installed matplotlib and networkx packages.
  Can someone tell me the function present in these packages that can be used to generate a social network graph like graph for film actor collaborations, co-authorship or even a graph for a P2P network.</p>