haphviz-0.1.2.1: Graphviz code generation with Haskell

Safe HaskellSafe
LanguageHaskell2010

Text.Dot.Class

Synopsis

Documentation

class Graph g c | c -> g, g -> c where Source

A class of datatypes representable as a graph with a given config.

Methods

defaultGenConfig :: c Source

The default config for rendering a g.

genGraph :: c -> g -> DotGen () Source

Draw g using c to configure its rendering.

genDefault :: Graph g c => g -> DotGen () Source

Render a g using the default render config