def METHOD_NAME(metric, node):
    p, minval, maxval, uniqvals = vals[metric]
    prop = node.props.get(p)
    try:
        prop = float(prop)
        vals[metric][1] = min(minval, prop)
        vals[metric][2] = max(maxval, prop)
        uniqvals.add(prop)
    except:
        return