code: def make_diameter(a, b):
      cx = (a[0] + b[0]) / 2.0
      cy = (a[1] + b[1]) / 2.0
      r0 = math.hypot(cx - a[0], cy - a[1])
      r1 = math.hypot(cx - b[0], cy - b[1])
      return (cx, cy, max(r0, r1))
  
imports: import math
label_desc: Use image node_id 3 for calling a global function with example usage: make_diameter(a, b) and returns: cx,  cy,  max