Copyright | (c) Ivan Lazar Miljenovic |
---|---|
License | 3-Clause BSD-style |
Maintainer | Ivan.Miljenovic@gmail.com |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
You almost definitely do not want to use this module. It is only defined for completeness when parsing existing Dot code.
Graphviz contains a list of colors known as the /Brewer color schemes/.
These colors are available under an Apache-style license: http://www.graphviz.org/doc/info/colors.html#brewer_license. As such, they are not recommended for general use, and have only been included in this package for completeness.
The complete list of Brewer colors can be found at http://www.graphviz.org/doc/info/colors.html#brewer.
- data BrewerScheme = BScheme BrewerName Word8
- data BrewerName
- data BrewerColor = BC BrewerScheme Word8
Documentation
data BrewerScheme Source
Specify which colour palette and how many colours it has. Note
the allowed values for the different BrewerName
s.
data BrewerName Source
All of these have a minimum level value of 3
, with a maximum
of 9
unless otherwise specified.
Accent | Maximum of |
Blues | |
Brbg | Maximum of |
Bugn | |
Bupu | |
Dark2 | Maximum of |
Gnbu | |
Greens | |
Greys | |
Oranges | |
Orrd | |
Paired | Maximum of |
Pastel1 | |
Pastel2 | Maximum of |
Piyg | Maximum of |
Prgn | Maximum of |
Pubu | |
Pubugn | |
Puor | Maximum of |
Purd | |
Purples | |
Rdbu | Maximum of |
Rdgy | Maximum of |
Rdpu | |
Rdylbu | Maximum of |
Rdylgn | Maximum of |
Reds | |
Set1 | |
Set2 | Maximum of |
Set3 | Maximum of |
Spectral | Maximum of |
Ylgn | |
Ylgnbu | |
Ylorbr | |
Ylorrd |
data BrewerColor Source
This value should be between 1
and the level of the
BrewerScheme
being used.