code: def route_with_splines(e, pts):
      """
      Enhanced edge routing where 'corners' of the above polyline route are rounded with a Bezier curve.
      """
      from .geometry import set_round_corner
  
      route_with_lines(e, pts)
      splines = set_round_corner(e, pts)
      e.view.splines = splines
  
file_path: pygraphistry/graphistry/layout/utils/routing.py
imports: from .geometry import rectangle_point_intersection, angle_between_vectors, sqrt
label_desc: Use image node_id 2 for calling a global function with example usage: route_with_splines(e, pts) without return types