Safe Haskell | None |
---|---|
Language | Haskell2010 |
Implementation of Dot
language writer.
- type Attr = (String, String)
- attr_pp :: Attr -> String
- attr_pp_maybe :: Attr -> Maybe String
- attr_list_pp :: [Attr] -> String
- attr_set_pp :: String -> [Attr] -> String
- size_pp :: (Double, Double) -> String
- bool_pp :: Bool -> String
- std_style :: Dot_Options -> [String]
- dotGraph :: Dot_Options -> Graph -> String
- view_with :: Dot_Options -> String -> IO ()
- data IP
- limit_precision_o :: Dot_Options -> Sample -> String
- ip_record :: Dot_Options -> IP -> String
- escape_html :: String -> String
- ip_html :: Dot_Options -> IP -> String
- record :: Dot_Options -> String -> String -> ([IP], [IP]) -> String
- table :: Dot_Options -> String -> String -> ([IP], [IP]) -> String
- dot_edge :: Dot_Options -> Graph -> Edge -> String
- input :: Dot_Options -> Graph -> Node -> FromPort -> Int -> IP
- dot_node_u :: Dot_Options -> Graph -> Node -> String
- dot_node_k_color :: Node -> Attr
- dot_node_k_rec :: Dot_Options -> Node -> String
- dot_node_k_html :: Dot_Options -> Node -> String
- dot_node_k :: Dot_Options -> Node -> String
- get_viewer :: Dot_Options -> IO String
Documentation
attr_list_pp :: [Attr] -> String Source #
Attribute lists are in square brackets and comma seperated.
attr_set_pp :: String -> [Attr] -> String Source #
Attribute sets are named and semi-colon terminated.
std_style :: Dot_Options -> [String] Source #
Basic attribute sets given Dot_Options
.
dotGraph :: Dot_Options -> Graph -> String Source #
Generate dot representation of the provided unit generator graph.
Input port.
limit_precision_o :: Dot_Options -> Sample -> String Source #
Variant of limit_precision
reading parameters from Dot_Options
.
escape_html :: String -> String Source #
Very rudimentary HTML escaping.
dot_node_u :: Dot_Options -> Graph -> Node -> String Source #
dot_node_k_color :: Node -> Attr Source #
dot_node_k_rec :: Dot_Options -> Node -> String Source #
dot_node_k_html :: Dot_Options -> Node -> String Source #
dot_node_k :: Dot_Options -> Node -> String Source #
get_viewer :: Dot_Options -> IO String Source #
Considering output_format
read either the environment variable
DOTVIEWER
or SVGVIEWER
, the default values are dot_viewer
and
svg_viewer
.