I\'m using Python to simulate a process that takes place on directed graphs. I would like to produce an animation of this process.
The problem that I\'ve run into i
Maybe I am a little late but I found another solution to you issue, so I post it so that can be helpful if somebody has the same problem. This is adding the connectionstyle argument to nx.draw:
import networkx as nx
import matplotlib.pyplot as plt
G = nx.MultiDiGraph()
G.add_edges_from([
(1, 2),
(2, 3),
(3, 2),
(2, 1),
])
plt.figure(figsize=(8,8))
nx.draw(G, connectionstyle='arc3, rad = 0.1',)
Here you see the result: