Generally that would be the approach. But since you have effectively double the number of edges this will likely affect the scale your job will run.
________________________________ From: xiaobo <guxiaobo1...@qq.com> Sent: Monday, February 19, 2018 3:22:02 AM To: user@spark.apache.org Subject: [graphframes]how Graphframes Deal With Bidirectional Relationships Hi, To represent a bidirectional relationship, one solution is to insert two edges for the vertices pair, my question is do the algorithms of graphframes still work when we doing this. Thanks