title: how to convert a python dictionary into a graph object, NetworkX
body: <p>I'm new to python, and I am trying to convert a dictionary into a graph object in Networkx. The dictionary:</p>
  
  <pre><code>dict = {'key1': ['value1', 'value2', 'value3'], 'key2': ['value1', 'value2']}
  </code></pre>
  
  <p>I want the keys to be an ego node, and values to be their alter nodes (with out-degree going from an ego to an alter). Is this possible to achieve in Python?.</p>