Extract specific nodes from largest connected components


I am evaluating Neo4j. I successfuly imported data from csv files.
I would like to make a query that will extract some specific nodes (eg UserID) from largest connected components. I would like to fix the connected components size.
Eg get all UserID from all connected components where the size of the connected component is greater than 20.

Is that doable with neo4j ?

Thanks in advance

Hello @1113 and welcome to the Neo4j community :slight_smile:

Yeah, it looks possible. Can you give us your schema? Can you give a little example with a screenshot?