edge property for weighted search with vertex property for max_dist cutoff

Hi all,

How can I use a vertex property for search cutoff on graphs that are
weighted based on an edge property?
I want the search to visit the vertex based on the edge weights but the
cutoff to be based on a vertex property.