Description
Functions for generating structured or random FGL graphs.
Description
Generators for graphs. Supports classic (constant-sized) graphs, deterministic Generators and different random graph generators, based on mwc-random.
This library uses a library-agnostic and space-efficient graph representation. Combinators are provided to convert said representation to other graph representations (currently only FGL, see Data.Graph.Generators.FGL
)
Note that this library is in its early development stages. Don't use it for production code without checking the correctness of the algorithm implementation.
README.md
graph-generators
A Haskell library for creating regular and random graphs in a graph-library agnostic way.
Generate sample DOT files by using:
cabal sandbox init
cabal install --only-dependencies
cabal exec runghc TestGen.hs # See output for location of graphs