def dfsu_details(x, y):
    """
    Get min and max for input x and y ndarrays; shape (num_nodes,)
    """

    min_x = x.min()
    max_x = x.max()
    min_y = y.min()
    max_y = y.max()

    return min_x, max_x, min_y, max_y