2

I'm building an simple Graph with GraphFrames on Scala 2.11 Spark 2.2.

I can create my graph without problems, but i have no idea how create a subgraph from input user.

I want to extract graph from the big one, like :

Get subgraph from node#123 with 3 max depth parents.

I tried connectedComponent, ( see https://graphframes.github.io/user-guide.html ) but I have no idea what to do with "compenent" column.

Thanks for your helps.

Gohmz
  • 1,256
  • 16
  • 31
  • Hello, did you find a solution to your problem? – gtzinos May 11 '18 at 11:32
  • 1
    Hey. I switched to Neo4J backend. With Neo4J, I used https://github.com/neo4j-contrib/neo4j-spark-connector to request my graph. You can do cypher Neo4J request in Spark and load them in GraphFrames. So, I made Cypher request to get my SubGraph in Neo4J and load them to GraphFrames. With GraphFrames solo, I didnt't succed sorry :) Goold luck. – Gohmz May 14 '18 at 14:55

0 Answers0