Re: Create a n x n graph given only the vertices no

2016-01-20 Thread praveen S
Hi Robin, I am using Spark 1.3 and I am not able to find the api Graph.fromEdgeTuples(edge RDD, 1) Regards, Praveen Well you can use a similar tech to generate an RDD[(Long, Long)] (that’s what the edges variable is) and then create the Graph using Graph.fromEdgeTuples.

Re: Create a n x n graph given only the vertices no

2016-01-20 Thread praveen S
Sorry.. Found the api.. On 21 Jan 2016 10:17, "praveen S" wrote: > Hi Robin, > > I am using Spark 1.3 and I am not able to find the api > Graph.fromEdgeTuples(edge RDD, 1) > > Regards, > Praveen > Well you can use a similar tech to generate an RDD[(Long, Long)] (that’s >

Re: Create a n x n graph given only the vertices no

2016-01-11 Thread praveen S
Yes I was looking something of that sort.. Thank you. Actually I was looking for a way to connect nodes based on the property of the nodes.. I have a set of nodes and I know the condition on which I can create an edge.. On 11 Jan 2016 14:06, "Robin East" wrote: > Do you

Re: Create a n x n graph given only the vertices no

2016-01-10 Thread praveen S
Is it possible in graphx to create/generate graph of n x n given only the vertices. On 8 Jan 2016 23:57, "praveen S" wrote: > Is it possible in graphx to create/generate a graph n x n given n > vertices? >

Re: Create a n x n graph given only the vertices no

2016-01-10 Thread Prem Sure
you mean with out edges data? I dont think so. The other-way is possible..by calling fromEdges on Graph (this would assign vertices mentioned by edges default value ). please share your need/requirement in detail if possible.. On Sun, Jan 10, 2016 at 10:19 PM, praveen S

Create a n x n graph given only the vertices

2016-01-08 Thread praveen S
Is it possible in graphx to create/generate a graph n x n given n vertices?