I have been looking for the GraphX on Spark documentation and I am trying to work out how to calculate all the 2 and potentially further step connections in the graph.
If I have the following structure
- A -> b
- b -> C
- b -> D
Then A is connected to C and D via B (A -> b -> C) and (A -> b -> D)
I was having a look at the connected components functions but not sure how you would extend it to this. In reality b will be a different vertex type but not sure if this has an effect or not.
Any suggestions would be greatly appreciated I am pretty new to GraphX