<div dir="ltr"><div><div>we have the partition_id and the node_id (of source node) so we can retrieve only those edges that have one of their nodes as source node. So two conditions will arise here <br></div>1) That edge might completely lie inside that partition ( as u sadi above )<br>
</div>2) Its a boundary edge , in that case if the algorithm follws this edge then we again have to check whether the partition( using target_partiton_id) in which the target_node of this edge is  lying is loaded or not.<br>
<div><div></div></div></div>