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.Types.Internal.Common

This module provides common functions used by both Data.GraphViz.Types as well as Data.GraphViz.Types.Generalised.

  • 5 types
  • 13 values
datadata GraphID
#

A polymorphic type that covers all possible ID values allowed by Dot syntax. Note that whilst the ParseDot and PrintDot instances for String will properly take care of the special cases for numbers, they are treated differently here.

Constructors

Instances6Eq, Ord, Read, Show, ParseDot, PrintDot
  • Eq GraphIDDefined in graphviz-2999.20.2.0 · Data.GraphViz.Types.Internal.Common
  • Ord GraphIDDefined in graphviz-2999.20.2.0 · Data.GraphViz.Types.Internal.Common
  • Read GraphIDDefined in graphviz-2999.20.2.0 · Data.GraphViz.Types.Internal.Common
  • Show GraphIDDefined in graphviz-2999.20.2.0 · Data.GraphViz.Types.Internal.Common
  • ParseDot GraphIDDefined in graphviz-2999.20.2.0 · Data.GraphViz.Types.Internal.Common
  • PrintDot GraphIDDefined in graphviz-2999.20.2.0 · Data.GraphViz.Types.Internal.Common
datadata Number
#

A numeric type with an explicit separation between integers and floating-point values.

Constructors

Instances6Eq, Ord, Read, Show, ParseDot, PrintDot
  • Eq NumberDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.Values
  • Ord NumberDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.Values
  • Read NumberDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.Values
  • Show NumberDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.Values
  • ParseDot NumberDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.Values
  • PrintDot NumberDefined in graphviz-2999.20.2.0 · Data.GraphViz.Attributes.Values
datadata GlobalAttributes
#

Represents a list of top-level list of Attributes for the entire graph/sub-graph. Note that GraphAttrs also applies to DotSubGraphs.

Note that Dot allows a single Attribute to be listed on a line; if this is the case then when parsing, the type of Attribute it is determined and that type of GlobalAttribute is created.

Instances6Eq, Ord, Read, Show, ParseDot, PrintDot
datadata DotNode n
#

A node in DotGraph.

Instances7Functor, Eq, Ord, Read, Show, ParseDot, …
  • Functor DotNodeDefined in graphviz-2999.20.2.0 · Data.GraphViz.Types.Internal.Common
  • Eq n => Eq (DotNode n)Defined in graphviz-2999.20.2.0 · Data.GraphViz.Types.Internal.Common
  • Ord n => Ord (DotNode n)Defined in graphviz-2999.20.2.0 · Data.GraphViz.Types.Internal.Common
  • Read n => Read (DotNode n)Defined in graphviz-2999.20.2.0 · Data.GraphViz.Types.Internal.Common
  • Show n => Show (DotNode n)Defined in graphviz-2999.20.2.0 · Data.GraphViz.Types.Internal.Common
  • ParseDot n => ParseDot (DotNode n)Defined in graphviz-2999.20.2.0 · Data.GraphViz.Types.Internal.Common
  • PrintDot n => PrintDot (DotNode n)Defined in graphviz-2999.20.2.0 · Data.GraphViz.Types.Internal.Common
datadata DotEdge n
#

An edge in DotGraph.

Instances7Functor, Eq, Ord, Read, Show, ParseDot, …
  • Functor DotEdgeDefined in graphviz-2999.20.2.0 · Data.GraphViz.Types.Internal.Common
  • Eq n => Eq (DotEdge n)Defined in graphviz-2999.20.2.0 · Data.GraphViz.Types.Internal.Common
  • Ord n => Ord (DotEdge n)Defined in graphviz-2999.20.2.0 · Data.GraphViz.Types.Internal.Common
  • Read n => Read (DotEdge n)Defined in graphviz-2999.20.2.0 · Data.GraphViz.Types.Internal.Common
  • Show n => Show (DotEdge n)Defined in graphviz-2999.20.2.0 · Data.GraphViz.Types.Internal.Common
  • ParseDot n => ParseDot (DotEdge n)Defined in graphviz-2999.20.2.0 · Data.GraphViz.Types.Internal.Common
  • PrintDot n => PrintDot (DotEdge n)Defined in graphviz-2999.20.2.0 · Data.GraphViz.Types.Internal.Common
valueprintStmtBasedList
  1. :: a -> DotCode
  2. -> a -> AttributeType
  3. -> a -> stmts
  4. -> stmts -> DotCode
  5. -> [a]
  6. -> DotCode
#
valueparseBracesBased :: AttributeType -> Parse a -> Parse a
#

This must only be used for sub-graphs, etc.