Separate edge arrows in python/networkx directed graph
问题 I would like to obtain something similar to this: using the python library networkx. I can generate a similar directed graph using the following code: import matplotlib.pyplot as plt import networkx as nx G = nx.DiGraph() G.add_edge('1','2') G.add_edge('1','3') G.add_edge('3','2') G.add_edge('3','4') G.add_edge('4','3') nx.draw(G, node_color='w', edgecolors='k', width=2.0, with_labels=True) plt.show() which produces: However, the arrows between the nodes 3 and 4 are superimposed, and it just