NetworkPlotter.draw_edges

NetworkPlotter.draw_edges(keys=None, width=None, color=None, text=None, textcolor=None, fontsize=None)[source]

Draws the network edges.

Parameters
  • keys (list) – The keys of the edges to plot.

  • width ({float, dict}) – Width of the network edges.

  • color ({color, dict}) – Color for the edge lines.

  • text ({{‘index’, ‘key’}, str, dict}) – Strings to be displayed on the edges.

  • textcolor ({color, dict}) – Color for the text to be displayed on the edges.

  • fontsize ({int, dict}) – Font size for the text to be displayed on the edges.

Returns

object – The matplotlib line collection object.