Re: How to construct graph in graphx

2014-10-13 Thread Ankur Dave
At 2014-10-13 21:08:15 -0400, Soumitra Johri 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 so others can see the s

Re: How to construct graph in graphx

2014-10-13 Thread Ankur Dave
At 2014-10-13 18:22:44 -0400, Soumitra Siddharth Johri 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 graph from the above f