graph-utils-0.3.6.1: A simple wrapper & quasi quoter for fgl.
Data.Graph.EasyGrapher
Synopsis
gr :: QuasiQuoterSource
Quasi quoter for EGGraph
buildGraph :: (DynGraph gr, Ord a) => EGGraph a -> gr a ()Source
buildGraph converts EGGraph gr into the '(gr a ())'
buildGraph
gr
type EGGraph a = [EGTerm a]Source
'EGGraph a' is a list of 'EGTerm a'.
data (Eq a, Ord a) => EGTerm a Source
EGTerm is a vertex & an edge.
EGTerm
Constructors
Instances
fromGr :: (Graph gr, Ord a) => gr a () -> EGGraph aSource
fromGr converts 'gr :: (gr a ())' into 'EGGraph a'
fromGr