code: public static <K, VV, EV> Graph<K, VV, EV> fromCollection(Collection<Vertex<K, VV>> vertices,
  			Collection<Edge<K, EV>> edges, ExecutionEnvironment context) {
  
  		return fromDataSet(context.fromCollection(vertices),
  				context.fromCollection(edges), context);
  	}
docs: Creates a graph from a Collection of vertices and a Collection of edges.
  
  @param vertices a Collection of vertices.
  @param edges a Collection of edges.
  @param context the flink execution environment.
  @return the newly created graph.