Hi all,
I have created a graph with 5 millions edges, but in the results of
connected components, I found the component ID of the "_from","_to" vertex
is different!
10.13.32.38:8529@_system> var graphName="black";
10.13.32.38:8529@_system> var graph_module
=require("@arangodb/general-graph")
10.13.32.38:8529@_system> var graph =graph_module._create(graphName)
10.13.32.38:8529@_system> var edgeDefinitions =
[{collection:"edge_data_5m", from:["ids"], to:["ids"]}]
10.13.32.38:8529@_system> graph = graph_module._create("graphName",
edgeDefinitions)
{[Graph]
"edge_data_5m" : [ArangoCollection 208919656, "edge_data_5m" (type edge,
status loaded)],
"ids" : [ArangoCollection 184452357, "ids" (type document, status loaded)]
}
Following is an edge:
_id:
edge_data_5m/208919660
_rev:
_W-Gdnti---
_key:
208919660
_from:
ids/403
_to:
ids/2521111070
Then I computed connectedcomponents in pregel, and checked the component ID
of the from and to vertex of the edge:
10.13.32.38:8529@_system> var pregel = require("@arangodb/pregel");
10.13.32.38:8529@_system> var handle = pregel.start("connectedcomponents",
"black", {store:true, resultField: "cid", maxGSS: 25})
10.13.32.38:8529@_system> pregel.status(18)
{
"state" : "done",
"gss" : 3,
"totalRuntime" : 24.294466257095337,
"aggregators" : {
},
"sendCount" : 5001359,
"receivedCount" : 5001359,
"vertexCount" : 4460594,
"edgeCount" : 4999982,
"code" : 200
}
10.13.32.38:8529@_system> graph.ids.document("ids/403")
{
"_key" : "403",
"_id" : "ids/403",
"_rev" : "_W-bdYpG-CQ",
"pageRank" : 3.362780987004044e-8,
"cid" : 1627478
}
10.13.32.38:8529@_system> graph.ids.document("ids/2521111070")
{
"_key" : "2521111070",
"_id" : "ids/2521111070",
"_rev" : "_W-bdWNu-_E",
"pageRank" : 6.221144843721049e-8,
"cid" : 1090246
}
Could anyone give me a clue, any kind of reply is appreciated!
Best regards,
Eliz
--
You received this message because you are subscribed to the Google Groups
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.