graphviz-2999.18.1.2: Bindings to Graphviz for graph visualisation.

Copyright | (c) Ivan Lazar Miljenovic
License | 3-Clause BSD-style
Maintainer | Ivan.Miljenovic@gmail.com
Safe Haskell | Safe
Language | Haskell2010

Data.GraphViz.Attributes.Colors.SVG

Description

Graphviz comes with an SVG color scheme: http://www.graphviz.org/doc/info/colors.html#svg

However, in general use you probably want to use Data.GraphViz.Attributes.Colors.X11 instead, unless you are only generating SVG images.

Synopsis

- data SVGColor
  - = AliceBlue
  - | AntiqueWhite
  - | Aqua
  - | Aquamarine
  - | Azure
  - | Beige
  - | Bisque
  - | Black
  - | BlanchedAlmond
  - | Blue
  - | BlueViolet
  - | Brown
  - | Burlywood
  - | CadetBlue
  - | Chartreuse
  - | Chocolate
  - | Coral
  - | CornflowerBlue
  - | Cornsilk
  - | Crimson
  - | Cyan
  - | DarkBlue
  - | DarkCyan
  - | DarkGoldenrod
  - | DarkGray
  - | DarkGreen
  - | DarkKhaki
  - | DarkMagenta
  - | DarkOliveGreen
  - | DarkOrange
  - | DarkOrchid
  - | DarkRed
  - | DarkSalmon
  - | DarkSeaGreen
  - | DarkSlateBlue
  - | DarkSlateGray
  - | DarkTurquoise
  - | DarkViolet
  - | DeepPink
  - | DeepSkyBlue
  - | DimGray
  - | DodgerBlue
  - | Firebrick
  - | FloralWhite
  - | ForestGreen
  - | Fuchsia
  - | Gainsboro
  - | GhostWhite
  - | Gold
  - | Goldenrod
  - | Gray
  - | Green
  - | GreenYellow
  - | Honeydew
  - | HotPink
  - | IndianRed
  - | Indigo
  - | Ivory
  - | Khaki
  - | Lavender
  - | LavenderBlush
  - | LawnGreen
  - | LemonChiffon
  - | LightBlue
  - | LightCoral
  - | LightCyan
  - | LightGoldenrodYellow
  - | LightGray
  - | LightGreen
  - | LightPink
  - | LightSalmon
  - | LightSeaGreen
  - | LightSkyBlue
  - | LightSlateGray
  - | LightSteelBlue
  - | LightYellow
  - | Lime
  - | LimeGreen
  - | Linen
  - | Magenta
  - | Maroon
  - | MediumAquamarine
  - | MediumBlue
  - | MediumOrchid
  - | MediumPurple
  - | MediumSeaGreen
  - | MediumSlateBlue
  - | MediumSpringGreen
  - | MediumTurquoise
  - | MediumVioletRed
  - | MidnightBlue
  - | MintCream
  - | MistyRose
  - | Moccasin
  - | NavajoWhite
  - | Navy
  - | OldLace
  - | Olive
  - | OliveDrab
  - | Orange
  - | OrangeRed
  - | Orchid
  - | PaleGoldenrod
  - | PaleGreen
  - | PaleTurquoise
  - | PaleVioletRed
  - | PapayaWhip
  - | PeachPuff
  - | Peru
  - | Pink
  - | Plum
  - | PowderBlue
  - | Purple
  - | Red
  - | RosyBrown
  - | RoyalBlue
  - | SaddleBrown
  - | Salmon
  - | SandyBrown
  - | SeaGreen
  - | SeaShell
  - | Sienna
  - | Silver
  - | SkyBlue
  - | SlateBlue
  - | SlateGray
  - | Snow
  - | SpringGreen
  - | SteelBlue
  - | Tan
  - | Teal
  - | Thistle
  - | Tomato
  - | Turquoise
  - | Violet
  - | Wheat
  - | White
  - | WhiteSmoke
  - | Yellow
  - | YellowGreen
- svgColour :: SVGColor -> Colour Double

# Documentation

data SVGColor #

The SVG colors that Graphviz uses. Graphviz's list of colors also duplicated all `*Gray*` colors with `*Grey*` ones; parsing of an `SVGColor` which is specified using "grey" will succeed.

Constructors

AliceBlue |
AntiqueWhite |
Aqua |
Aquamarine |
Azure |
Beige |
Bisque |
Black |
BlanchedAlmond |
Blue |
BlueViolet |
Brown |
Burlywood |
CadetBlue |
Chartreuse |
Chocolate |
Coral |
CornflowerBlue |
Cornsilk |
Crimson |
Cyan |
DarkBlue |
DarkCyan |
DarkGoldenrod |
DarkGray |
DarkGreen |
DarkKhaki |
DarkMagenta |
DarkOliveGreen |
DarkOrange |
DarkOrchid |
DarkRed |
DarkSalmon |
DarkSeaGreen |
DarkSlateBlue |
DarkSlateGray |
DarkTurquoise |
DarkViolet |
DeepPink |
DeepSkyBlue |
DimGray |
DodgerBlue |
Firebrick |
FloralWhite |
ForestGreen |
Fuchsia |
Gainsboro |
GhostWhite |
Gold |
Goldenrod |
Gray |
Green |
GreenYellow |
Honeydew |
HotPink |
IndianRed |
Indigo |
Ivory |
Khaki |
Lavender |
LavenderBlush |
LawnGreen |
LemonChiffon |
LightBlue |
LightCoral |
LightCyan |
LightGoldenrodYellow |
LightGray |
LightGreen |
LightPink |
LightSalmon |
LightSeaGreen |
LightSkyBlue |
LightSlateGray |
LightSteelBlue |
LightYellow |
Lime |
LimeGreen |
Linen |
Magenta |
Maroon |
MediumAquamarine |
MediumBlue |
MediumOrchid |
MediumPurple |
MediumSeaGreen |
MediumSlateBlue |
MediumSpringGreen |
MediumTurquoise |
MediumVioletRed |
MidnightBlue |
MintCream |
MistyRose |
Moccasin |
NavajoWhite |
Navy |
OldLace |
Olive |
OliveDrab |
Orange |
OrangeRed |
Orchid |
PaleGoldenrod |
PaleGreen |
PaleTurquoise |
PaleVioletRed |
PapayaWhip |
PeachPuff |
Peru |
Pink |
Plum |
PowderBlue |
Purple |
Red |
RosyBrown |
RoyalBlue |
SaddleBrown |
Salmon |
SandyBrown |
SeaGreen |
SeaShell |
Sienna |
Silver |
SkyBlue |
SlateBlue |
SlateGray |
Snow |
SpringGreen |
SteelBlue |
Tan |
Teal |
Thistle |
Tomato |
Turquoise |
Violet |
Wheat |
White |
WhiteSmoke |
Yellow |
YellowGreen |

Instances

Bounded SVGColor # |
Methods minBound :: SVGColor # maxBound :: SVGColor #
Enum SVGColor # |
Methods succ :: SVGColor -> SVGColor # pred :: SVGColor -> SVGColor # toEnum :: Int -> SVGColor # fromEnum :: SVGColor -> Int # enumFrom :: SVGColor -> [SVGColor] # enumFromThen :: SVGColor -> SVGColor -> [SVGColor] # enumFromTo :: SVGColor -> SVGColor -> [SVGColor] # enumFromThenTo :: SVGColor -> SVGColor -> SVGColor -> [SVGColor] #
Eq SVGColor # |
Methods (==) :: SVGColor -> SVGColor -> Bool # (/=) :: SVGColor -> SVGColor -> Bool #
Ord SVGColor # |
Methods compare :: SVGColor -> SVGColor -> Ordering # (<) :: SVGColor -> SVGColor -> Bool # (<=) :: SVGColor -> SVGColor -> Bool # (>) :: SVGColor -> SVGColor -> Bool # (>=) :: SVGColor -> SVGColor -> Bool # max :: SVGColor -> SVGColor -> SVGColor # min :: SVGColor -> SVGColor -> SVGColor #
Read SVGColor # |
Methods readsPrec :: Int -> ReadS SVGColor # readList :: ReadS [SVGColor] # readPrec :: ReadPrec SVGColor # readListPrec :: ReadPrec [SVGColor] #
Show SVGColor # |
Methods showsPrec :: Int -> SVGColor -> ShowS # show :: SVGColor -> String # showList :: [SVGColor] -> ShowS #
ParseDot SVGColor # |
Methods parseUnqt :: Parse SVGColor # parse :: Parse SVGColor # parseUnqtList :: Parse [SVGColor] # parseList :: Parse [SVGColor] #
PrintDot SVGColor # |
Methods unqtDot :: SVGColor -> DotCode # toDot :: SVGColor -> DotCode # unqtListToDot :: [SVGColor] -> DotCode # listToDot :: [SVGColor] -> DotCode #
NamedColor SVGColor # |
Methods colorScheme :: SVGColor -> ColorScheme toColor :: SVGColor -> Color # printNC :: Bool -> SVGColor -> DotCode parseNC' :: Bool -> Parse SVGColor

svgColour :: SVGColor -> Colour Double #

Convert an `SVGColor` to its equivalent `Colour` value.