code: def get_coordinates(node_class):
      
      quadrant_size = (2 * math.pi / 8.0)
      quadrant = get_quadrant_from_class(node_class)
      begin_angle = quadrant_size * quadrant
      r = 200 + 800*random.random()
      alpha = begin_angle + random.random() * quadrant_size
      x = r * math.cos(alpha)
      y = r * math.sin(alpha)
      return x, y
docs: Generate coordinates for a node in a given class.