If the given node is a leaf node, there will be an only one link for it
and nodeid will be represented 2 times in topology
If the given node is not a leaf node, then there will be fanout+1 links
for it and nodeid will be represented (fanout+1)*2 times in topology
p.s. root node is excluded.
If the given node is a leaf node, there will be an only one link for it
and nodeid will be represented 2 times in topology
If the given node is not a leaf node, then there will be fanout+1 links
for it and nodeid will be represented (fanout+1)*2 times in topology
p.s. root node is excluded.