def get_subgraph_from_edge_list(graph, edge_list):
node_list = get_vertices_from_edge_list(graph, edge_list)<EOL>subgraph = make_subgraph(graph, node_list, edge_list)<EOL>return subgraph<EOL>
Transforms a list of edges into a subgraph.