This module is useful for generating a random graph with given number of edges and nodes.
simpleConnectedGraph : Basics.Int -> Basics.Int -> Random.Generator ( List Basics.Int, List ( Basics.Int, Basics.Int ) )
This function generates a random graph that is connected if number of edges >= number of nodes - 1
Note: You can also generate random trees, just pass edge count as n-1.
simpleConnectedGraphWithRandomNodeEdgeLabels : Basics.Int -> Basics.Int -> Random.Generator n -> Random.Generator e -> Random.Generator (Graph n e)
Similar to simpleConnectedGraph, also generates edge labels and node labels using the given generator.