The graphFrames package of spark is great. I can find the shortest path from "a" to "d" with the command
val results = g.shortestPaths.landmarks(Seq("a", "d")).run()
but what how can I define a weighted graph and compute shortest path between two nodes?
Thanks.