GraphOptimizationApplication.random_graph¶ static GraphOptimizationApplication.random_graph(num_nodes, num_edges, seed=None)[source]¶ Parameters: num_nodes (int) – The number of nodes in a graph num_edges (int) – The number of edges in a graph seed (int | None) – seed for a random graph Returns: A random graph of NetworkX Return type: Graph