Functions for generating structured or random FGL graphs

Latest on Hackage:

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

Apache-2.0 licensed by Uli Köhler


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


** 0.1.x -->

* Fix wrong haddock syntax leading to unused function docs -->

* More unit tests for completeGraph variants
* More unit tests for regular graphs
* New regular graphs: starGraph, wheelGraph, nullGraph
* Rename lineGraph to pathGraph (incorrect naming)
* Add notes about preconditions
* Add correct copyright declarations
* Fix several doc formatting issues -->

* Rename Data.Graph.Generators.Simple to Data.Graph.Generators.Regular
* Add lineGraph
Depends on 6 packages:
Used by 1 package:
comments powered byDisqus