title: MultiDirectional Graph in python using networkX
body: <p>Problem is relatively simple and I am not able to find any pointers for the same. I have a csv with following values : </p>
  
  <pre><code> Source Destination value
      a         b     0.7
      b         c     0.58
      c         d     0.4
      a         d     0.52
      b         d     0.66
      d         b     0.30
      a         c     0.33
  </code></pre>
  
  <p>I want to do a graph analysis with python and I found networkx to be the suitable option. I used the following code to achieve the same. </p>
  
  <pre><code>import networkx as nx
  import pandas as pd
  
  df = pd.read_csv('values.csv')
  
  G = nx.from_pandas_edgelist(df, source='Source', target='Destination', edge_attr='value',)   
  
  G.nodes()
  
  G.edges()
  
  
  nx.draw_networkx(G, with_labels=True)
  </code></pre>
  
  <p>Since the values in the csv have b -> d and d-> b it would be a multidirectional graph but when I try to output the result, I am not getting these values. </p>
  
  <pre><code>G.nodes()
  NodeView(('a', 'b', 'c', 'd'))
  
  G.edges()
  EdgeView([('a', 'b'), ('a', 'd'), ('a', 'c'), ('b', 'c'), ('b', 'd'), ('c', 'd')])
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/FOceT.png" rel="nofollow noreferrer">Output</a></p>
  
  <p>I want to understand why I am not able to obtain the edge for d -> b in the edge response. </p>
  
  <p>I found nx.MultiDiGraph on the documentation but I am not sure how to use the same. </p>
  
  <p>Thanks</p>