New getter for edges by its attached nodes