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.

Contents

Home

Background

Using FlamingPy

Development

Getting Help

Python API