flamingpy.utils.viz.draw_curved_edges¶
- flamingpy.utils.viz.draw_curved_edges(graph, layout, ax, rad=0.5)[source]¶
Draw curved edges using matplotlib directly instead of networkx.
This requires that the graph is implemented with the NetworkX backend.
- Parameters
graph (NxGraph) – The graph to draw.
layout (dict) – A dictionary of positions keyed by node.
ax (matplotlib.pyplot.Axis) – The axis on which arrows should be drawn.
rad (float, optional) – Curvature of the arrows in radians.
source/api/flamingpy.utils.viz.draw_curved_edges
Download Python script
Download Notebook
View on GitHub