When performing a shortest path query, is it at all possible to specify the weight from the value of predicate on the node rather than a facet ?
for example :
shortest(from: uid(A), to: uid(B)) {
edge_predicate
weight: integer_predicate
}
Alternatively is it possible to assign a variable value to a facet ?