add getter for edges set
pre-alpha version of clustering algorithm