You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Robineast <Ro...@xense.co.uk> on 2015/11/27 08:06:17 UTC
Re: GraphX - How to make a directed graph an undirected graph?
1. GraphX doesn't have a concept of undirected graphs, Edges are always
specified with a srcId and dstId. However there is nothing to stop you
adding in edges that point in the other direction i.e. if you have an edge
with srcId -> dstId you can add an edge dstId -> srcId
2. In general APIs will return a single Graph object even if the resulting
graph is partitioned. You should read the API docs for the specifics though
-----
Robin East
Spark GraphX in Action Michael Malak and Robin East
Manning Publications Co.
http://www.manning.com/books/spark-graphx-in-action
--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/GraphX-How-to-make-a-directed-graph-an-undirected-graph-tp25495p25499.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org