I can get the total number of nodes in a partition from the json file created by the partition_grapy.py
in the dist graphsage example.
How can I get the following information for each partition from DistGraph
object?
- Number of Local Nodes
- Number of Remote Nodes
- Which Remote Nodes belong to which partition?
Consider the following very simple example:
Number of Partitions: 3
Total nodes in partition 1: 0,1,2,3,4,5,6,7,8,9
Local nodes in partition 1: 0,1,2,3,4
Remote nodes in partition 1: 5,6,7,8,9
For partition 1:
Number of Local nodes: 5
Number of Remote nodes: 5
Nodes 5,6,7
belongs to partition 2
Nodes 8,9
belongs to partition 3
How to get this information from DistGraph
?
How to get the feature vector or a node or multiple nodes from DistGraph
?