I am trying to use Networkx to draw a DAG on Colab and I have set the 'arrowstype' as '->', however, it always gives me a very thick arrow and part of arrow doesn't show (see the below fig). Below is my code, any suggestions on how to set the arrowtype and arrowsize?
pos = pos_nodes # pos_nodes = {'A':(0,0), 'B':(10,0), 'C':(20:0)..........}
plt.figure(figsize=(0.8*len(nodes_on_path),0.5*len(nodes_on_path)))
nx.draw_networkx_nodes(G, pos, node_color='skyblue', node_size=600)
nx.draw_networkx_edges(G, pos, arrowstyle='->', arrowsize=10)
nx.draw_networkx_labels(G, pos, labels, font_size=15, font_family='sans-serif')
ax = plt.gca()
ax.set_axis_off()
plt.show()
plt.close