Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Language.REST.Dot
Description
This module contains functionality for generating GraphViz graphs
Documentation
mkGraph :: String -> DiGraph -> IO () Source #
mkGraph name graph
generates the .dot
file for graph
, and renders
the resulting graph to a png
file using the dot
utility
A GraphViz directed graph
Constructors
Edge | |
Instances
Generic Edge Source # | |
Show Edge Source # | |
Eq Edge Source # | |
Ord Edge Source # | |
Hashable Edge Source # | |
Defined in Language.REST.Dot | |
type Rep Edge Source # | |
Defined in Language.REST.Dot type Rep Edge = D1 ('MetaData "Edge" "Language.REST.Dot" "rest-rewrite-0.4.1-nnmMncO1JP25mfUNet9Kl" 'False) (C1 ('MetaCons "Edge" 'PrefixI 'True) ((S1 ('MetaSel ('Just "from") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NodeID) :*: (S1 ('MetaSel ('Just "to") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NodeID) :*: S1 ('MetaSel ('Just "edgeLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))) :*: (S1 ('MetaSel ('Just "edgeColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel ('Just "subLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "edgeStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))))) |
The way the graph will be rendered
A GraphViz node
Instances
Generic Node Source # | |
Show Node Source # | |
Eq Node Source # | |
Ord Node Source # | |
Hashable Node Source # | |
Defined in Language.REST.Dot | |
type Rep Node Source # | |
Defined in Language.REST.Dot type Rep Node = D1 ('MetaData "Node" "Language.REST.Dot" "rest-rewrite-0.4.1-nnmMncO1JP25mfUNet9Kl" 'False) (C1 ('MetaCons "Node" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nodeID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NodeID) :*: S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :*: (S1 ('MetaSel ('Just "nodeStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "labelColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))) |