I need to draw a graph with duplicate edges (i.e., more than one edge between 2 nodes). I tried:
import networkx as nx
edges = [(0, 1), (0, 1)]
G = nx.DiGraph ()
G.add_edges_from (edges)
print G.edges ()
#[(0, 1)]
Duplicate entries are simply discarded. Is there any way to do that?