I want to get only the directed path between two nodes in directed G using networkx.
Currently, I am doing this:
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
This will return a path even if edges list of G only have following entries
[(u,w),(v,w)]
My goal is to get the directed path only. Is there a way in networkx to do it?