Re: GraphX: Types for the Nodes and Edges

2014-10-07 Thread Oshi
Hi again, Thank you for your suggestion :) I've tried to implement this method but I'm stuck trying to union the payload before creating the graph. Below is a really simplified snippet of what have worked so far. //Reading the articles given in json format val articles =

GraphX: Types for the Nodes and Edges

2014-10-01 Thread Oshi
Hi, Sorry this question may be trivial. I'm new to Spark and GraphX. I need to create a graph that has different types of nodes(3 types) and edges(4 types). Each type of node and edge has a different list of attributes. 1) How should I build the graph? Should I specify all types of nodes(or

Re: GraphX: Types for the Nodes and Edges

2014-10-01 Thread Oshi
you could have your own lookup from X → VertexId then use the usual `lookup` my2€ aℕdy ℙetrella about.me/noootsab [image: aℕdy ℙetrella on about.me] http://about.me/noootsab On Wed, Oct 1, 2014 at 4:35 PM, Oshi [hidden email] http://user/SendEmail.jtp?type=nodenode=15487i=0 wrote: Hi