TestExplode-0.1.0.0: Generates testcases from program-snippets

Copyright(c) Hans-Jürgen Guth, 2014
LicenseLGPL
Maintainerjuergen.software@freea2a.de
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

TestExplode.DirGraphCombine

Description

The Functions of this module enables you to generate FGL-Graphs for the haskell module graphviz.

Synopsis

Documentation

mkVizGraph :: DirGraph a -> VizGraph a Source

The heart of this module: DirGraph to VizGraph. Runs the state monad mkGraphBeginEnd.

mkGraphBeginEnd :: DirGraph a -> State (VizGraph a) (VizGraph a, (Node, Node)) Source

the evaluate-function of the EDSL to generate a VizGraph. Normally the function mkVizGraph should be sufficent for the end-user. The state is a VizGraph, that is used to apply the function newNodes to it, that gives one or more new nodes. In this VizGraph the Nodes are simply added, edges are senseless and not added. The output is the resulting VizGraph and a tuple of the first Node and the last Node (remember: a DirGraph has exactly one begin and one end).

type VizGraph a = Gr (Maybe a, Maybe TGDocuInfo) () Source

Graph for Graphviz: a FGL-Graph