Makes random_graph_from_parameters part of public API.