code: def _update_edges(self, element, data, style):
      edges = self.handles["edges"]
      paths = data["edges"]
      edges.set_paths(paths)
      edges.set_visible(style.get("visible", True))
      if "edge_facecolors" in style:
          edges.set_facecolors(style["edge_facecolors"])
      if "edge_edgecolors" in style:
          edges.set_edgecolors(style["edge_edgecolors"])
      if "edge_array" in style:
          edges.set_array(style["edge_array"])
      elif "edge_colors" in style:
          if self.filled:
              edges.set_facecolors(style["edge_colors"])
          else:
              edges.set_edgecolors(style["edge_colors"])
      if "edge_clim" in style:
          edges.set_clim(style["edge_clim"])
      if "edge_norm" in style:
          edges.norm = style["edge_norm"]
      if "edge_linewidth" in style:
          edges.set_linewidths(style["edge_linewidth"])
  
imports: import warnings
  import numpy
  import param
  from matplotlib.collections import LineCollection, PolyCollection
  from ...core.data import Dataset
  from ...core.options import Cycle, abbreviated_exception
  from ...core.util import is_number, isscalar, search_indices, unique_array
  from ...util.transform import dim
  from ..mixins import ChordMixin, GraphMixin
  from ..util import get_directed_graph_paths, process_cmap
  from .element import ColorbarPlot
  from .util import filter_styles
label_desc: Use image node_id 5 for calling the GraphPlot obj's underlying member method code with example usage: obj._update_edges(element, data, style) without return types