Use a MultiDiGraph instead of MultiGraph. MultiGraph is undirected