HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulegraphviz-2999.20.2.0Haskell2010

Data.GraphViz.Attributes.Colors

This module defines the various colors, etc. for Graphviz. For information on colors in general, see: http://graphviz.org/doc/info/attrs.html#k:color For named colors, see: http://graphviz.org/doc/info/colors.html

Note that the ColorBrewer Color Schemes (shortened to just "Brewer" for the rest of this module) are covered by the following license (also available in the LICENSE file of this library): http://graphviz.org/doc/info/colors.html#brewer_license

  • 4 types
  • 1 class
  • 6 values

Color schemes.

1 declaration
datadata ColorScheme
#

This represents the color schemes that Graphviz accepts.

Instances6Eq, Ord, Read, Show, ParseDot, PrintDot
  • Eq ColorSchemeDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.ColorScheme
  • Ord ColorSchemeDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.ColorScheme
  • Read ColorSchemeDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.ColorScheme
  • Show ColorSchemeDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.ColorScheme
  • ParseDot ColorSchemeDefined in graphviz-2999.20.2.0 · Data.GraphViz.Parsing
  • PrintDot ColorSchemeDefined in graphviz-2999.20.2.0 · Data.GraphViz.Printing

Colors

7 declarations
datadata Color
#

Defining a color for use with Graphviz. Note that named colors have been split up into X11Colors and those based upon the Brewer color schemes.

Instances6Eq, Ord, Read, Show, ParseDot, PrintDot
  • Eq ColorDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.Colors
  • Ord ColorDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.Colors
  • Read ColorDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.Colors
  • Show ColorDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.Colors
  • ParseDot ColorDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.Colors
  • PrintDot ColorDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.Colors
datadata WeightedColor
#

A Color tagged with an optional weighting.

Constructors

Instances6Eq, Ord, Read, Show, ParseDot, PrintDot

Conversion to/from Colour.

3 declarations