License | GPL-3 |
---|---|
Maintainer | Marcelo Garlet Millani <marcelogmillani@gmail.com> |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Convenience functions for working with DOT.
Synopsis
- adjacency :: (a, b, c, [Statement]) -> ([GraphElement], [GraphElement])
- adjacencyToDot :: Bool -> Maybe [Char] -> [GraphElement] -> [Char]
Documentation
adjacency :: (a, b, c, [Statement]) -> ([GraphElement], [GraphElement]) Source #
Representation of a graph as a list of nodes and a list of edges. Nodes and edges may occur several times on each list.
adjacencyToDot :: Bool -> Maybe [Char] -> [GraphElement] -> [Char] Source #
Converts a graph represented as a list of nodes and edges to the DOT format.