Is it possible to calculate shortest path using edge property?

#1

VertexA–[edge ‘distance’ with property ‘width’]->VertexB

Where property ‘width’ is integer with some value.

shortestPath() can only use some edge names (does not take under calculation property of the edge).

What about Dijkstra?
SELECT dijkstra($current, #8:10, ‘weight’) FROM V

What is ‘weight’ there? Property of the Vertex?
If so, still edge property will be no included.

Regards

#2

Hi @Gosforth

In this case, “weight” is the edge property, so it should be exactly what you need

Thanks

Luigi