code: def compute_vectors(mesh):
      origin = mesh.center
      vectors = mesh.points - origin
      vectors = vectors / np.linalg.norm(vectors, axis=1)[:, None]
      return vectors
  
imports: import numpy
  import pyvista
  from pyvista import examples
label_desc: Use image node_id 2 for calling a global function with example usage: compute_vectors(mesh) and returns: vectors