I am looking for a way to visualize the graph constructed in Spark\'s Graphx. As far as I know Graphx doesn\'t have any visualization methods so I need to export the data from G
So you can do something like this
def toGexf[VD,ED](g:Graph[VD,ED]) : String = { "\n" + "
\n" + " " }\n" + " \n" + "\n" + g.vertices.map(v => " \n" + "\n").collect.mkString + " \n" + g.edges.map(e => " \n" + "\n").collect.mkString + "
Example: http://gregroberts.github.io