Hi,

I am new to scala/graphx and am having problems converting a tsv file to a
graph. I have a flat tab separated file like below:

n1 P1 n2

n3 P1 n4

n2 P2 n3

n3 P2 n1

n1 P3 n4

n3 P3 n2

where n1,n2,n3,n4 are the nodes of the graph and R1,P2,P3 are the
properties which should form the edges between the nodes.

How can I construct a graph from the above file in SPARK GraphX ? Example
code would be very helpful.

Many Thanks
Soumitra

Reply via email to