Treat graphs as undirected graphs

29 views
Skip to first unread message

Asif Mayilli

unread,
Oct 31, 2017, 12:45:59 PM10/31/17
to ArangoDB
Hi people. I wanted to use pregel centrality algorithms over a graph. I am using python arango api to call algorithm but each returns me
 {'aggregators': {}, 'edge_count': None, 'gss': 0, 'received_count': 0, 'send_count': 0, 'state': 'running', 'total_runtime': 0.0026140213012695312, 'vertex_count': None}
this each time ( even when I have created oposite direction edges). 
So I am thinking maybe it is because of graph is directed.
So how can I tell arangodb treat graphs as undirected throw python in code below?
job_id = db.create_pregel_job(algorithm='effectivecloseness', graph="gg")
job = db.pregel_job(job_id)

j

Thanks in advance.
Reply all
Reply to author
Forward
0 new messages