code: def get_data(self, element, ranges, style):
      edge_color = style.get("edge_color")
      if edge_color not in element.nodes:
          edge_color = self.edge_color_index
      simplex_dim = element.get_dimension(edge_color)
      vertex_dim = element.nodes.get_dimension(edge_color)
      if (
          not isinstance(self.edge_color_index, int)
          and vertex_dim
          and not simplex_dim
      ):
          simplices = element.array([0, 1, 2])
          z = element.nodes.dimension_values(vertex_dim)
          z = z[simplices].mean(axis=1)
          element = element.add_dimension(
              vertex_dim, len(element.vdims), z, vdim=True
          )
      element._initialize_edgepaths()
      return super().get_data(element, ranges, style)
  
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 1 for calling the TriMeshPlot obj's underlying member method code with example usage: obj.get_data(element, ranges, style) and returns: super