Fix `edges` to return only the edges