I have several isolated subgraph in a graph space like: [1-2, 2-3], [4-5,5-6], [7-8], I want to get subsets of nodes of all connected subgraphs such as:
[1,2,3], [4,5,6], [7,8] # 3 subgraphs
Can I get these results in an any efficient way by nGQL.