title: Get directed path in python networkx
body: <p>I want to get only the directed path between two nodes in directed G using networkx.</p>
  
  <p>Currently, I am doing this:</p>
  
  <pre><code>G=nx.fast_gnp_random_graph(NUMBER_OF_NODES,PPROB_OF_EDGE,True)
  nx.bidirectional_dijkstra(G,u, v) #u and v are some nodes in G
  </code></pre>
  
  <p>This will return a path even if edges list of G only have following entries</p>
  
  <pre><code>[(u,w),(v,w)]
  </code></pre>
  
  <p>My goal is to get the directed path only. Is there a way in networkx to do it?</p>