WLJS LogoWLJS Notebook

UniformGraphDistribution

UniformGraphDistribution[n, m] represents a uniform graph distribution on n-vertex, m-edge graphs.

Examples

RandomGraph[UniformGraphDistribution[5, 7]]
(* Graph[{1, 2, 3, 4, 5}, {...}] *)
Table[RandomGraph[UniformGraphDistribution[6, 8]], 3]
(* {Graph[...], Graph[...], Graph[...]} *)

Please visit the official Wolfram Language Reference for more details.

On this page