Saswata Banerjee & Associates writes:
The geographical location of the item on the network map generally starts from the node where the mapping software is running. The other objects on the network should then be mapped based on whether there is a direct link from the starting node to it or goes thorough another node.
eg : from my pc, there is no direct connection to node 4, it goes through a hub. So the my pc and node 4 will be centered round the hub. Similarly, if the connection goes through the same hub and then through a switch to go to node 105, the switch then is the center for all hubs, nodes connected through it. and so on
Regards Saswata
This is a typical problem in graph theory. Maybe be a linked list with multiple links may solve the problem. but the biggest problem is that of cycles in the graph which have to be handled. Also another problem is that you have to know beforehand what is the maximum number of nodes that a particular node is connected to, unless there is some way to get around this problem.
************** Vinayak Hegde APGDST Student NCST-Juhu **************