At 2014-11-26 21:21:17 -0800, Deep Pradhan <pradhandeep1...@gmail.com> wrote: > Is it the same in the Pregel abstraction of GraphX too? Do we always have > to input directed graphs to Pregel abstraction or can we also give > undirected graphs?
Yes, all graphs in GraphX are directed, including in the Pregel API. User-defined functions can treat a graph as undirected by ignoring the direction of each edge and sending messages symmetrically, as in the connected components algorithm. Ankur --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org