added select_edges_by(), which filters edge type and layer