convert to multidigraph instead of simple undirected graph, to include more information in the network