refactored select_edges_by(); removed select_edges_by_... functions