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 graph from the above file in SPARK GraphX ? Example > code would be very helpful.
Here's how to do this: https://gist.github.com/ankurdave/587eac4d08655d0eebf9 Ankur --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org