Hi,

If I have some nodes coordinates and I have to group these nodes together if there is path exist between them. Is there any algorithm available?

The main graph structure looks as in attached figure.

By looking at the main graph,

If I have co-ordinates of nodes 4,5,6,7 and 3 in the graph generated using above code. I have to group 4,5, and 6 together and 3 and 7 as another group. Is there any algorithm available for this kind of grouping?

Thanks in advance,

Manu

More Manu Francis's questions See All
Similar questions and discussions