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
At 2014-10-13 18:22:44 -0400, Soumitra Siddharth Johri
soumitra.siddha...@gmail.com wrote:
I have a flat tab separated file like below:
[...]
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
At 2014-10-13 21:08:15 -0400, Soumitra Johri soumitra.siddha...@gmail.com
wrote:
There is no 'long' field in my file. So when I form the edge I get a type
mismatch error. Is it mandatory for GraphX that every vertex should have a
distinct id. ?
in my case n1,n2,n3,n4 are all strings.
(+user