text: import torch
  from torch_geometric.data import Data
  from torch_geometric.utils import to_undirected
  import openmesh as om
  
  def read_mesh(path):
      mesh = om.read_trimesh(path)
      face = torch.from_numpy(mesh.face_vertex_indices()).T.type(torch.long)
      x = torch.tensor(mesh.points().astype('float32'))
      edge_index = torch.cat([face[:2], face[1:], face[::2]], dim=1)
      edge_index = to_undirected(edge_index)
      return Data(x=x, edge_index=edge_index)
  