get edges