|
Data.Graph.Analysis.Reporting | Maintainer | Ivan.Miljenovic@gmail.com |
|
|
|
|
|
Description |
This module defines the report framework used.
|
|
Synopsis |
|
|
|
|
Document representation
|
|
Document is the simplified representation of a document. Note
that this just specifies a document layout, and not an
implementation. To actually create a "physical" document,
you must use an instance of DocumentGenerator.
|
|
|
|
|
class DocumentGenerator dg where | Source |
|
Represents the class of document generators.
| | Methods | | Convert idealised Document values into actual documents,
returning the document file created.
| | | The extension of all document-style files created. Note that
this doesn't preclude the creation of other files, e.g. images.
|
| | Instances | |
|
|
|
Representation of a location, either on the internet or locally.
| Constructors | | Instances | |
|
|
|
Elements of a document.
| Constructors | |
|
|
|
Inline elements of a document.
| Constructors | |
|
|
|
Specify the size the DotGraph should be at.
| Constructors | GivenSize Point | Specify the size to use.
| DefaultSize | Let GraphViz choose an appropriate size.
|
|
|
|
|
Specify the DotGraph to turn into an image, its filename (sans
extension) and its caption. The DotGraph should not have a
Size set.
|
|
Helper functions
|
|
Utility functions to help with document creation.
|
|
|
Create the legend section and add it to the document proper.
|
|
|
Return today's date as a string, e.g. "Monday 1 January, 2000".
This arbitrary format is chosen as there doesn't seem to be a way
of determining the correct format as per the user's locale settings.
|
|
|
Attempts to create the specified directly, returning True
if successful (or if the directory already exists), False
if an error occurred.
|
|
|
Attempts to creates a png file (with the given filename in the
given directory) from the graph using the given attributes.
If the second set of attributes is not Nothing, then the first
image links to the second. The whole result is wrapped in a
Paragraph.
|
|
|
Using a 6:4 ratio, create the given Point representing
width,height from the width.
|
|
|
Replace all . with - in the given FilePath, since some output
formats (e.g. LaTeX) don't like extraneous .'s in the filename.
|
|
Produced by Haddock version 2.4.2 |