code: def euclidean_distance(x1, y1, x2, y2):
      """Computes the Euclidean distance between points (x1,y1) and (x2,y2)."""
      return hypot(x2 - x1, y2 - y1)
  
imports: from collections import defaultdict
  from math import atan2, cos, hypot, sin
  from typing import NamedTuple
  from igraph.utils import consecutive_pairs
label_desc: Use image node_id 2 for calling a global function with example usage: euclidean_distance(x1, y1, x2, y2) and returns: hypot