Find path from source nodes to destination node dgraph

I have to find the shortest path between my supplier and consumer node ,i have to do this for all the suppliers

Check this docs https://dgraph.io/docs/query-language/kshortest-path-quries/