I have a CSV file that lists the relationships between nodes in a whole network that contains sub-networks. An example of what may look like is the image below.
I’m glad it worked. Your kind feedback is my best reward and thanks for validating the solution !
Just a comment about this solution. As you will notice, the loop iterates as many times as nodes in the graph. This is fine with graphs with a reasonable number of nodes. However, if your network is made of millions of nodes but much less sub-graphs, an optimized alternative solution could be implemented with a recursive loop. I just wanted to let you know in case you have a huge network. Please get back in touch if this is the case for you. I’ll be happy to help further.
I did notice the looping but the flow finished in a few seconds… I am sure I will be posting on the forum again about networks. It is something that I am encountering more and more and it may make some of the things I need to do a lot more efficient, especially where data elements are closely related.