Hoogle Search
Within LTS Haskell 24.49 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
graphviz Data.GraphViz.Commands PostScript.
-
graphviz Data.GraphViz.Commands PostScript for PDF.
-
This module defines simple helper functions for use with Text.ParserCombinators.Poly.Lazy. Note that the ParseDot instances for Bool, etc. match those specified for use with Graphviz (e.g. non-zero integers are equivalent to True). You should not be using this module; rather, it is here for informative/documentative reasons. If you want to parse a DotRepr, you should use parseDotGraph rather than its ParseDot instance.
type
Parse a = Parser GraphvizState agraphviz Data.GraphViz.Parsing A ReadS-like type alias.
-
graphviz Data.GraphViz.Parsing No documentation available.
-
graphviz Data.GraphViz.Parsing This Parser datatype is a specialised parsing monad with error reporting. Whereas the standard version can be used for arbitrary token types, this version is specialised to Text input only.
-
graphviz Data.GraphViz.Parsing The PolyParse class is an abstraction gathering all of the common features that a two-level error-handling parser requires: the applicative parsing interface, the monadic interface, and commitment. There are two additional basic combinators that we expect to be implemented afresh for every concrete type, but which (for technical reasons) cannot be class methods. They are next and satisfy.
module Data.GraphViz.
PreProcessing "Real life" Dot code contains various items that are not directly parseable by this library. This module defines the preProcess function to remove these components, which include:
- Comments (both /* ... */ style and // ... style);
- Pre-processor lines (lines starting with a #);
- Split lines (by inserting a \ the rest of that "line" is continued on the next line).
- Strings concatenated together using "..." + "..."; these are concatenated into one big string.
-
This module defines simple helper functions for use with Text.PrettyPrint. It also re-exports all the pretty-printing combinators from that module. Note that the PrintDot instances for Bool, etc. match those specified for use with Graphviz. You should only be using this module if you are writing custom node types for use with Data.GraphViz.Types. For actual printing of code, use printDotGraph (which produces a Text value). The Dot language specification specifies that any identifier is in one of four forms:
- Any string of alphabetic ([a-zA-Z\200-\377]) characters, underscores ('_') or digits ([0-9]), not beginning with a digit;
- a number [-]?(.[0-9]+ | [0-9]+(.[0-9]*)? );
- any double-quoted string ("...") possibly containing escaped quotes (\");
- an HTML string (<...>).
-
graphviz Data.GraphViz.Printing A class used to correctly print parts of the Graphviz Dot language. Minimal implementation is unqtDot.