networkx.dense_gnm_random_graph
networkx.erdos_renyi_graph
Enter search terms or a module, class or function name.
Return the random graph G_{n,m}.
Gives a graph picked randomly out of the set of all graphs with n nodes and m edges.
n : int
The number of nodes.
m : int
The number of edges.
create_using : graph, optional (default Graph)
Use specified graph as a container.
seed : int, optional
Seed for random number generator (default=None).