I have graphs with parallels edges(more than one edges) as shown below
G=nx.read_edgelist(\'file.txt\',create_using=nx.MultiGraph(), nodetype=int)