I started by uploading my database and then I set the weight for all relationships by running this query :
match (a:Attributaires)--(h:Attributaires) with a, count(h) as AttributaireCount match (a)-[r]-() set r.weight = AttributaireCount
Now I want to regroup/put in clusters , all '"Attributaires" that have the same relationships' weight .
How can I make this ? thanks in advance everyone :)