INNER CODE UNIT · Python
width
epigen/MrBiomics · workflow/scripts/crossprediction.py:162
width=[w * 4 for w in edge_weights],
edge_color='grey',
node_size=300,
arrowstyle='->',
arrowsize=15,
connectionstyle='arc3,rad=0.2' # Use slight curves for clarity
)
# Draw labels
nx.draw_networkx_labels(
G,
pos,
font_size=6,
font_family='sans-serif'
)
# save plot
plt.axis('off')