code: def _get_edge_vertex_sizes(edge_vertices):
      sizes = []
      for visual_vertex in edge_vertices:
          if visual_vertex.size is not None:
              sizes.append(visual_vertex.size)
          else:
              sizes.append(
                  max(visual_vertex.width, visual_vertex.height)
              )
      return sizes
  
imports: from math import atan2, cos, pi, sin
  from igraph.drawing.baseclasses import AbstractEdgeDrawer
  from igraph.drawing.metamagic import AttributeCollectorBase
  from igraph.drawing.matplotlib.utils import find_matplotlib
  from igraph.drawing.utils import get_bezier_control_points_for_curved_edge, FakeModule
label_desc: Use image node_id 2 for calling the EdgeCollection obj's underlying member method code with example usage: obj._get_edge_vertex_sizes(edge_vertices) and returns: sizes