graphviz-2999.20.2.1: Bindings to Graphviz for graph visualisation.

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

Data.GraphViz.Attributes.Complete

Contents

- The actual Dot attributes.
  - Validity functions on `Attribute` values.
  - Custom attributes.
- Value types for `Attribute`s.
  - Generic types
  - Labels
    - Types representing the Dot grammar for records.
  - Nodes
  - Edges
    - Modifying where edges point
    - Arrows
      - `ArrowModifier` values
  - Positioning
  - Layout
  - Modes
  - Layers
  - Stylistic

Description

If you are just using graphviz to create basic Dot graphs, then you probably want to use Data.GraphViz.Attributes rather than this module.

This module defines the various attributes that different parts of a Graphviz graph can have. These attributes are based on the documentation found at: http://graphviz.org/doc/info/attrs.html

For more information on usage, etc. please see that document.

A summary of known current constraints/limitations/differences:

- Note that for an edge, in Dot parlance if the edge goes from A to B, then A is the tail node and B is the head node (since A is at the tail end of the arrow).
- `ColorList`, `DoubleList` and `PointfList` are defined as actual lists (``LayerList`` needs a newtype for other reasons). All of these are assumed to be non-empty lists.
- For the various `*Color` attributes that take in a list of `Color` values, usually only one color is used. The `Color` attribute for edges allows multiple values; for other attributes, two values are supported for gradient fills in Graphviz >= 2.29.0.
- Style is implemented as a list of `StyleItem` values; note that empty lists are not allowed.
- A lot of values have a possible value of `none`. These now have custom constructors. In fact, most constructors have been expanded upon to give an idea of what they represent rather than using generic terms.
- `Rect` uses two `Point` values to denote the lower-left and top-right corners.
- The two `LabelLoc` attributes have been combined.
- `SplineType` has been replaced with `[`Spline`]`.
- Only polygon-based `Shape`s are available.
- Not every `Attribute` is fully documented/described. However, all those which have specific allowed values should be covered.
- Deprecated `Overlap` algorithms are not defined. Furthermore, the ability to specify an integer prefix for use with the fdp layout is not supported.
- The global `Orientation` attribute is not defined, as it is difficult to distinguish from the node-based `Orientation` `Attribute`; also, its behaviour is duplicated by `Rotate`.
- The `charset` attribute is not available, as graphviz only supports UTF-8 encoding (as it is not currently feasible nor needed to also support Latin1 encoding).
- In Graphviz, when a node or edge has a list of attributes, the colorscheme which is used to identify a color can be set after that color (e.g. `[colorscheme=x11,color=grey,colorscheme=svg]` uses the svg colorscheme's definition of grey, which is different from the x11 one. Instead, graphviz parses them in order.

Synopsis

- data Attribute
  - = Damping Double
  - | K Double
  - | URL EscString
  - | Area Double
  - | ArrowHead ArrowType
  - | ArrowSize Double
  - | ArrowTail ArrowType
  - | Background Text
  - | BoundingBox Rect
  - | BgColor ColorList
  - | Center Bool
  - | ClusterRank ClusterMode
  - | Color ColorList
  - | ColorScheme ColorScheme
  - | Comment Text
  - | Compound Bool
  - | Concentrate Bool
  - | Constraint Bool
  - | Decorate Bool
  - | DefaultDist Double
  - | Dim Int
  - | Dimen Int
  - | Dir DirType
  - | DirEdgeConstraints DEConstraints
  - | Distortion Double
  - | DPI Double
  - | EdgeURL EscString
  - | EdgeTarget EscString
  - | EdgeTooltip EscString
  - | Epsilon Double
  - | ESep DPoint
  - | FillColor ColorList
  - | FixedSize NodeSize
  - | FontColor Color
  - | FontName Text
  - | FontNames SVGFontNames
  - | FontPath Paths
  - | FontSize Double
  - | ForceLabels Bool
  - | GradientAngle Int
  - | Group Text
  - | HeadURL EscString
  - | Head_LP Point
  - | HeadClip Bool
  - | HeadLabel Label
  - | HeadPort PortPos
  - | HeadTarget EscString
  - | HeadTooltip EscString
  - | Height Double
  - | ID EscString
  - | Image Text
  - | ImagePath Paths
  - | ImageScale ScaleType
  - | InputScale Double
  - | Label Label
  - | LabelURL EscString
  - | LabelScheme LabelScheme
  - | LabelAngle Double
  - | LabelDistance Double
  - | LabelFloat Bool
  - | LabelFontColor Color
  - | LabelFontName Text
  - | LabelFontSize Double
  - | LabelJust Justification
  - | LabelLoc VerticalPlacement
  - | LabelTarget EscString
  - | LabelTooltip EscString
  - | Landscape Bool
  - | Layer LayerRange
  - | LayerListSep LayerListSep
  - | Layers LayerList
  - | LayerSelect LayerRange
  - | LayerSep LayerSep
  - | Layout GraphvizCommand
  - | Len Double
  - | Levels Int
  - | LevelsGap Double
  - | LHead Text
  - | LHeight Double
  - | LPos Point
  - | LTail Text
  - | LWidth Double
  - | Margin DPoint
  - | MaxIter Int
  - | MCLimit Double
  - | MinDist Double
  - | MinLen Int
  - | Mode ModeType
  - | Model Model
  - | Mosek Bool
  - | NodeSep Double
  - | NoJustify Bool
  - | Normalize Normalized
  - | NoTranslate Bool
  - | Nslimit Double
  - | Nslimit1 Double
  - | Ordering Order
  - | Orientation Double
  - | OutputOrder OutputMode
  - | Overlap Overlap
  - | OverlapScaling Double
  - | OverlapShrink Bool
  - | Pack Pack
  - | PackMode PackMode
  - | Pad DPoint
  - | Page Point
  - | PageDir PageDir
  - | PenColor Color
  - | PenWidth Double
  - | Peripheries Int
  - | Pin Bool
  - | Pos Pos
  - | QuadTree QuadType
  - | Quantum Double
  - | Rank RankType
  - | RankDir RankDir
  - | RankSep [Double]
  - | Ratio Ratios
  - | Rects [Rect]
  - | Regular Bool
  - | ReMinCross Bool
  - | RepulsiveForce Double
  - | Root Root
  - | Rotate Int
  - | Rotation Double
  - | SameHead Text
  - | SameTail Text
  - | SamplePoints Int
  - | Scale DPoint
  - | SearchSize Int
  - | Sep DPoint
  - | Shape Shape
  - | ShowBoxes Int
  - | Sides Int
  - | Size GraphSize
  - | Skew Double
  - | Smoothing SmoothType
  - | SortV Word16
  - | Splines EdgeType
  - | Start StartType
  - | Style [StyleItem]
  - | StyleSheet Text
  - | TailURL EscString
  - | Tail_LP Point
  - | TailClip Bool
  - | TailLabel Label
  - | TailPort PortPos
  - | TailTarget EscString
  - | TailTooltip EscString
  - | Target EscString
  - | Tooltip EscString
  - | TrueColor Bool
  - | Vertices [Point]
  - | ViewPort ViewPort
  - | VoroMargin Double
  - | Weight Number
  - | Width Double
  - | XDotVersion Version
  - | XLabel Label
  - | XLP Point
  - | UnknownAttribute AttributeName Text
- type Attributes = [Attribute]
- sameAttribute :: Attribute -> Attribute -> Bool
- defaultAttributeValue :: Attribute -> Maybe Attribute
- rmUnwantedAttributes :: Attributes -> Attributes
- usedByGraphs :: Attribute -> Bool
- usedBySubGraphs :: Attribute -> Bool
- usedByClusters :: Attribute -> Bool
- usedByNodes :: Attribute -> Bool
- usedByEdges :: Attribute -> Bool
- validUnknown :: AttributeName -> Bool
- type AttributeName = Text
- type CustomAttribute = Attribute
- customAttribute :: AttributeName -> Text -> CustomAttribute
- isCustom :: Attribute -> Bool
- isSpecifiedCustom :: AttributeName -> Attribute -> Bool
- customValue :: CustomAttribute -> Text
- customName :: CustomAttribute -> AttributeName
- findCustoms :: Attributes -> ([CustomAttribute], Attributes)
- findSpecifiedCustom :: AttributeName -> Attributes -> Maybe (CustomAttribute, Attributes)
- deleteCustomAttributes :: Attributes -> Attributes
- deleteSpecifiedCustom :: AttributeName -> Attributes -> Attributes
- module Data.GraphViz.Attributes.Colors
- data Number
  - = Int Int
  - | Dbl Double
- type EscString = Text
- data Label
  - = StrLabel EscString
  - | HtmlLabel Label
  - | RecordLabel RecordFields
- data VerticalPlacement
  - = VTop
  - | VCenter
  - | VBottom
- data LabelScheme
  - = NotEdgeLabel
  - | CloseToCenter
  - | CloseToOldCenter
  - | RemoveAndStraighten
- data SVGFontNames
  - = SvgNames
  - | PostScriptNames
  - | FontConfigNames
- type RecordFields = [RecordField]
- data RecordField
  - = LabelledTarget PortName EscString
  - | PortName PortName
  - | FieldLabel EscString
  - | FlipFields RecordFields
- data Rect = Rect Point Point
- data Justification
  - = JLeft
  - | JRight
  - | JCenter
- data Shape
  - = BoxShape
  - | Polygon
  - | Ellipse
  - | Circle
  - | PointShape
  - | Egg
  - | Triangle
  - | PlainText
  - | DiamondShape
  - | Trapezium
  - | Parallelogram
  - | House
  - | Pentagon
  - | Hexagon
  - | Septagon
  - | Octagon
  - | DoubleCircle
  - | DoubleOctagon
  - | TripleOctagon
  - | InvTriangle
  - | InvTrapezium
  - | InvHouse
  - | MDiamond
  - | MSquare
  - | MCircle
  - | Square
  - | Star
  - | Underline
  - | Note
  - | Tab
  - | Folder
  - | Box3D
  - | Component
  - | Promoter
  - | CDS
  - | Terminator
  - | UTR
  - | PrimerSite
  - | RestrictionSite
  - | FivePovOverhang
  - | ThreePovOverhang
  - | NoOverhang
  - | Assembly
  - | Signature
  - | Insulator
  - | Ribosite
  - | RNAStab
  - | ProteaseSite
  - | ProteinStab
  - | RPromoter
  - | RArrow
  - | LArrow
  - | LPromoter
  - | Record
  - | MRecord
- newtype Paths = Paths {
  - paths :: [FilePath]
  }
- data ScaleType
  - = UniformScale
  - | NoScale
  - | FillWidth
  - | FillHeight
  - | FillBoth
- data NodeSize
  - = GrowAsNeeded
  - | SetNodeSize
  - | SetShapeSize
- data DirType
  - = Forward
  - | Back
  - | Both
  - | NoDir
- data EdgeType
  - = SplineEdges
  - | LineEdges
  - | NoEdges
  - | PolyLine
  - | Ortho
  - | Curved
  - | CompoundEdge
- newtype PortName = PN {
  - portName :: Text
  }
- data PortPos
  - = LabelledPort PortName (Maybe CompassPoint)
  - | CompassPoint CompassPoint
- data CompassPoint
  - = North
  - | NorthEast
  - | East
  - | SouthEast
  - | South
  - | SouthWest
  - | West
  - | NorthWest
  - | CenterPoint
  - | NoCP
- newtype ArrowType = AType [(ArrowModifier, ArrowShape)]
- data ArrowShape
  - = Box
  - | Crow
  - | Diamond
  - | DotArrow
  - | Inv
  - | NoArrow
  - | Normal
  - | Tee
  - | Vee
- data ArrowModifier = ArrMod {
  - arrowFill :: ArrowFill
  - arrowSide :: ArrowSide
  }
- data ArrowFill
  - = OpenArrow
  - | FilledArrow
- data ArrowSide
  - = LeftSide
  - | RightSide
  - | BothSides
- noMods :: ArrowModifier
- openMod :: ArrowModifier
- data Point = Point {
  - xCoord :: Double
  - yCoord :: Double
  - zCoord :: Maybe Double
  - forcePos :: Bool
  }
- createPoint :: Double -> Double -> Point
- data Pos
  - = PointPos Point
  - | SplinePos [Spline]
- data Spline = Spline {
  - endPoint :: Maybe Point
  - startPoint :: Maybe Point
  - splinePoints :: [Point]
  }
- data DPoint
  - = DVal Double
  - | PVal Point
- data Normalized
  - = IsNormalized
  - | NotNormalized
  - | NormalizedAngle Double
- data GraphvizCommand
  - = Dot
  - | Neato
  - | TwoPi
  - | Circo
  - | Fdp
  - | Sfdp
  - | Osage
  - | Patchwork
- data GraphSize = GSize {
  - width :: Double
  - height :: Maybe Double
  - desiredSize :: Bool
  }
- data ClusterMode
  - = Local
  - | Global
  - | NoCluster
- data Model
  - = ShortPath
  - | SubSet
  - | Circuit
  - | MDS
- data Overlap
  - = KeepOverlaps
  - | ScaleOverlaps
  - | ScaleXYOverlaps
  - | PrismOverlap (Maybe Word16)
  - | VoronoiOverlap
  - | CompressOverlap
  - | VpscOverlap
  - | IpsepOverlap
- data Root
  - = IsCentral
  - | NotCentral
  - | NodeName Text
- data Order
  - = OutEdges
  - | InEdges
- data OutputMode
  - = BreadthFirst
  - | NodesFirst
  - | EdgesFirst
- data Pack
  - = DoPack
  - | DontPack
  - | PackMargin Int
- data PackMode
  - = PackNode
  - | PackClust
  - | PackGraph
  - | PackArray Bool Bool (Maybe Int)
- data PageDir
  - = Bl
  - | Br
  - | Tl
  - | Tr
  - | Rb
  - | Rt
  - | Lb
  - | Lt
- data QuadType
  - = NormalQT
  - | FastQT
  - | NoQT
- data RankType
  - = SameRank
  - | MinRank
  - | SourceRank
  - | MaxRank
  - | SinkRank
- data RankDir
  - = FromTop
  - | FromLeft
  - | FromBottom
  - | FromRight
- data StartType
  - = StartStyle STStyle
  - | StartSeed Int
  - | StartStyleSeed STStyle Int
- data ViewPort = VP {
  - wVal :: Double
  - hVal :: Double
  - zVal :: Double
  - focus :: Maybe FocusType
  }
- data FocusType
  - = XY Point
  - | NodeFocus Text
- data Ratios
  - = AspectRatio Double
  - | FillRatio
  - | CompressRatio
  - | ExpandRatio
  - | AutoRatio
- data ModeType
  - = Major
  - | KK
  - | Hier
  - | IpSep
  - | SpringMode
  - | MaxEnt
- data DEConstraints
  - = EdgeConstraints
  - | NoConstraints
  - | HierConstraints
- newtype LayerSep = LSep Text
- newtype LayerListSep = LLSep Text
- type LayerRange = [LayerRangeElem]
- data LayerRangeElem
  - = LRID LayerID
  - | LRS LayerID LayerID
- data LayerID
  - = AllLayers
  - | LRInt Int
  - | LRName Text
- newtype LayerList = LL [LayerID]
- data SmoothType
  - = NoSmooth
  - | AvgDist
  - | GraphDist
  - | PowerDist
  - | RNG
  - | Spring
  - | TriangleSmooth
- data STStyle
  - = RegularStyle
  - | SelfStyle
  - | RandomStyle
- data StyleItem = SItem StyleName [Text]
- data StyleName
  - = Dashed
  - | Dotted
  - | Solid
  - | Bold
  - | Invisible
  - | Filled
  - | Striped
  - | Wedged
  - | Diagonals
  - | Rounded
  - | Tapered
  - | Radial
  - | DD Text

# The actual Dot attributes.

These attributes have been implemented in a permissive manner: that is, rather than split them up based on which type of value they are allowed, they have all been included in the one data type, with functions to determine if they are indeed valid for what they're being applied to.

To interpret the Valid for listings:

`G`
  Valid for Graphs.
`C`
  Valid for Clusters.
`S`
  Valid for Sub-Graphs (and also Clusters).
`N`
  Valid for Nodes.
`E`
  Valid for Edges.

The Default listings are those that the various Graphviz commands use if that `Attribute` isn't specified (in cases where this is none, this is equivalent to a `Nothing` value; that is, no value is used). The Parsing Default listings represent what value is used (i.e. corresponds to `True`) when the `Attribute` name is listed on its own in Dot source code.

Please note that the `UnknownAttribute` `Attribute` is defined primarily for backwards-compatibility purposes. It is possible to use it directly for custom purposes; for more information, please see `CustomAttribute`. The `deleteCustomAttributes` can be used to delete these values.

data Attribute Source #

Attributes are used to customise the layout and design of Dot graphs. Care must be taken to ensure that the attribute you use is valid, as not all attributes can be used everywhere.

Constructors

Damping Double | Valid for: G; Default: `0.99`; Minimum: `0.0`; Notes: `Neato` only
K Double | Valid for: GC; Default: `0.3`; Minimum: `0`; Notes: `Sfdp`, `Fdp` only
URL EscString | Valid for: ENGC; Default: none; Notes: svg, postscript, map only
Area Double | Valid for: NC; Default: `1.0`; Minimum: `>0`; Notes: `Patchwork` only, requires Graphviz >= 2.30.0
ArrowHead ArrowType | Valid for: E; Default: ``normal``
ArrowSize Double | Valid for: E; Default: `1.0`; Minimum: `0.0`
ArrowTail ArrowType | Valid for: E; Default: ``normal``
Background Text | Valid for: G; Default: none; Notes: xdot only
BoundingBox Rect | Valid for: G; Notes: write only
BgColor ColorList | Valid for: GC; Default: `[]`
Center Bool | Valid for: G; Default: ``False``; Parsing Default: `True`
ClusterRank ClusterMode | Valid for: G; Default: ``Local``; Notes: `Dot` only
Color ColorList | Valid for: ENC; Default: `[`WC` (`X11Color` `Black`) Nothing]`
ColorScheme ColorScheme | Valid for: ENCG; Default: ``X11``
Comment Text | Valid for: ENG; Default: `""`
Compound Bool | Valid for: G; Default: ``False``; Parsing Default: `True`; Notes: `Dot` only
Concentrate Bool | Valid for: G; Default: ``False``; Parsing Default: `True`
Constraint Bool | Valid for: E; Default: ``True``; Parsing Default: `True`; Notes: `Dot` only
Decorate Bool | Valid for: E; Default: ``False``; Parsing Default: `True`
DefaultDist Double | Valid for: G; Default: `1+(avg. len)*sqrt(abs(V))` (unable to statically define); Minimum: The value of `Epsilon`.; Notes: `Neato` only, only if ``Pack` `DontPack``
Dim Int | Valid for: G; Default: `2`; Minimum: `2`; Notes: maximum of `10`; `Sfdp`, `Fdp`, `Neato` only
Dimen Int | Valid for: G; Default: `2`; Minimum: `2`; Notes: maximum of `10`; `Sfdp`, `Fdp`, `Neato` only
Dir DirType | Valid for: E; Default: ``Forward`` (directed), ``NoDir`` (undirected)
DirEdgeConstraints DEConstraints | Valid for: G; Default: ``NoConstraints``; Parsing Default: `EdgeConstraints`; Notes: `Neato` only
Distortion Double | Valid for: N; Default: `0.0`; Minimum: `-100.0`
DPI Double | Valid for: G; Default: `96.0`, `0.0`; Notes: svg, bitmap output only; "resolution" is a synonym
EdgeURL EscString | Valid for: E; Default: `""`; Notes: svg, map only
EdgeTarget EscString | Valid for: E; Default: none; Notes: svg, map only
EdgeTooltip EscString | Valid for: E; Default: `""`; Notes: svg, cmap only
Epsilon Double | Valid for: G; Default: `.0001 * # nodes` (`mode == `KK``), `.0001` (`mode == `Major``); Notes: `Neato` only
ESep DPoint | Valid for: G; Default: ``DVal` 3`; Notes: not `Dot`
FillColor ColorList | Valid for: NEC; Default: `[`WC` (`X11Color` `LightGray`) Nothing]` (nodes), `[`WC` (`X11Color` `Black`) Nothing]` (clusters)
FixedSize NodeSize | Valid for: N; Default: ``GrowAsNeeded``; Parsing Default: `SetNodeSize`
FontColor Color | Valid for: ENGC; Default: ``X11Color` `Black``
FontName Text | Valid for: ENGC; Default: `"Times-Roman"`
FontNames SVGFontNames | Valid for: G; Default: ``SvgNames``; Notes: svg only
FontPath Paths | Valid for: G; Default: system dependent
FontSize Double | Valid for: ENGC; Default: `14.0`; Minimum: `1.0`
ForceLabels Bool | Valid for: G; Default: ``True``; Parsing Default: `True`; Notes: only for `XLabel` attributes, requires Graphviz >= 2.29.0
GradientAngle Int | Valid for: NCG; Default: 0; Notes: requires Graphviz >= 2.29.0
Group Text | Valid for: N; Default: `""`; Notes: `Dot` only
HeadURL EscString | Valid for: E; Default: `""`; Notes: svg, map only
Head_LP Point | Valid for: E; Notes: write only, requires Graphviz >= 2.30.0
HeadClip Bool | Valid for: E; Default: ``True``; Parsing Default: `True`
HeadLabel Label | Valid for: E; Default: ``StrLabel` ""`
HeadPort PortPos | Valid for: E; Default: ``CompassPoint` `CenterPoint``
HeadTarget EscString | Valid for: E; Default: none; Notes: svg, map only
HeadTooltip EscString | Valid for: E; Default: `""`; Notes: svg, cmap only
Height Double | Valid for: N; Default: `0.5`; Minimum: `0.02`
ID EscString | Valid for: GNE; Default: `""`; Notes: svg, postscript, map only
Image Text | Valid for: N; Default: `""`
ImagePath Paths | Valid for: G; Default: ``Paths` []`; Notes: Printing and parsing is OS-specific, requires Graphviz >= 2.29.0
ImageScale ScaleType | Valid for: N; Default: ``NoScale``; Parsing Default: `UniformScale`
InputScale Double | Valid for: N; Default: none; Notes: `Fdp`, `Neato` only, a value of `0` is equivalent to being `72`, requires Graphviz >= 2.36.0
Label Label | Valid for: ENGC; Default: ``StrLabel` "\N"` (nodes), ``StrLabel` ""` (otherwise)
LabelURL EscString | Valid for: E; Default: `""`; Notes: svg, map only
LabelScheme LabelScheme | Valid for: G; Default: ``NotEdgeLabel``; Notes: `Sfdp` only, requires Graphviz >= 2.28.0
LabelAngle Double | Valid for: E; Default: `-25.0`; Minimum: `-180.0`
LabelDistance Double | Valid for: E; Default: `1.0`; Minimum: `0.0`
LabelFloat Bool | Valid for: E; Default: ``False``; Parsing Default: `True`
LabelFontColor Color | Valid for: E; Default: ``X11Color` `Black``
LabelFontName Text | Valid for: E; Default: `"Times-Roman"`
LabelFontSize Double | Valid for: E; Default: `14.0`; Minimum: `1.0`
LabelJust Justification | Valid for: GC; Default: ``JCenter``
LabelLoc VerticalPlacement | Valid for: GCN; Default: ``VTop`` (clusters), ``VBottom`` (root graphs), ``VCenter`` (nodes)
LabelTarget EscString | Valid for: E; Default: none; Notes: svg, map only
LabelTooltip EscString | Valid for: E; Default: `""`; Notes: svg, cmap only
Landscape Bool | Valid for: G; Default: ``False``; Parsing Default: `True`
Layer LayerRange | Valid for: ENC; Default: `[]`
LayerListSep LayerListSep | Valid for: G; Default: ``LLSep` ","`; Notes: requires Graphviz >= 2.30.0
Layers LayerList | Valid for: G; Default: ``LL` []`
LayerSelect LayerRange | Valid for: G; Default: `[]`
LayerSep LayerSep | Valid for: G; Default: ``LSep` " :t"`
Layout GraphvizCommand | Valid for: G
Len Double | Valid for: E; Default: `1.0` (`Neato`), `0.3` (`Fdp`); Notes: `Fdp`, `Neato` only
Levels Int | Valid for: G; Default: ``maxBound``; Minimum: `0`; Notes: `Sfdp` only
LevelsGap Double | Valid for: G; Default: `0.0`; Notes: `Neato` only
LHead Text | Valid for: E; Default: `""`; Notes: `Dot` only
LHeight Double | Valid for: GC; Notes: write only, requires Graphviz >= 2.28.0
LPos Point | Valid for: EGC; Notes: write only
LTail Text | Valid for: E; Default: `""`; Notes: `Dot` only
LWidth Double | Valid for: GC; Notes: write only, requires Graphviz >= 2.28.0
Margin DPoint | Valid for: NGC; Default: device dependent
MaxIter Int | Valid for: G; Default: `100 * # nodes` (`mode == `KK``), `200` (`mode == `Major``), `600` (`Fdp`); Notes: `Fdp`, `Neato` only
MCLimit Double | Valid for: G; Default: `1.0`; Notes: `Dot` only
MinDist Double | Valid for: G; Default: `1.0`; Minimum: `0.0`; Notes: `Circo` only
MinLen Int | Valid for: E; Default: `1`; Minimum: `0`; Notes: `Dot` only
Mode ModeType | Valid for: G; Default: ``Major`` (actually ``Spring`` for `Sfdp`, but this isn't used as a default in this library); Notes: `Neato`, `Sfdp` only
Model Model | Valid for: G; Default: ``ShortPath``; Notes: `Neato` only
Mosek Bool | Valid for: G; Default: ``False``; Parsing Default: `True`; Notes: `Neato` only; requires the Mosek software
NodeSep Double | Valid for: G; Default: `0.25`; Minimum: `0.02`
NoJustify Bool | Valid for: GCNE; Default: ``False``; Parsing Default: `True`
Normalize Normalized | Valid for: G; Default: ``NotNormalized``; Parsing Default: `IsNormalized`; Notes: not `Dot`
NoTranslate Bool | Valid for: G; Default: ``False``; Parsing Default: `True`; Notes: `Neato` only, requires Graphviz >= 2.38.0
Nslimit Double | Valid for: G; Notes: `Dot` only
Nslimit1 Double | Valid for: G; Notes: `Dot` only
Ordering Order | Valid for: GN; Default: none; Notes: `Dot` only
Orientation Double | Valid for: N; Default: `0.0`; Minimum: `360.0`
OutputOrder OutputMode | Valid for: G; Default: ``BreadthFirst``
Overlap Overlap | Valid for: G; Default: ``KeepOverlaps``; Parsing Default: `KeepOverlaps`; Notes: not `Dot`
OverlapScaling Double | Valid for: G; Default: `-4`; Minimum: `-1.0e10`; Notes: `PrismOverlap` only
OverlapShrink Bool | Valid for: G; Default: ``True``; Parsing Default: `True`; Notes: `PrismOverlap` only, requires Graphviz >= 2.36.0
Pack Pack | Valid for: G; Default: ``DontPack``; Parsing Default: `DoPack`
PackMode PackMode | Valid for: G; Default: ``PackNode``
Pad DPoint | Valid for: G; Default: ``DVal` 0.0555` (4 points)
Page Point | Valid for: G
PageDir PageDir | Valid for: G; Default: ``Bl``
PenColor Color | Valid for: C; Default: ``X11Color` `Black``
PenWidth Double | Valid for: CNE; Default: `1.0`; Minimum: `0.0`
Peripheries Int | Valid for: NC; Default: shape default (nodes), `1` (clusters); Minimum: 0
Pin Bool | Valid for: N; Default: ``False``; Parsing Default: `True`; Notes: `Fdp`, `Neato` only
Pos Pos | Valid for: EN
QuadTree QuadType | Valid for: G; Default: ``NormalQT``; Parsing Default: `NormalQT`; Notes: `Sfdp` only
Quantum Double | Valid for: G; Default: `0.0`; Minimum: `0.0`
Rank RankType | Valid for: S; Notes: `Dot` only
RankDir RankDir | Valid for: G; Default: ``FromTop``; Notes: `Dot` only
RankSep [Double] | Valid for: G; Default: `[0.5]` (`Dot`), `[1.0]` (`Twopi`); Minimum: `[0.02]`; Notes: `Twopi`, `Dot` only
Ratio Ratios | Valid for: G
Rects [Rect] | Valid for: N; Notes: write only
Regular Bool | Valid for: N; Default: ``False``; Parsing Default: `True`
ReMinCross Bool | Valid for: G; Default: ``False``; Parsing Default: `True`; Notes: `Dot` only
RepulsiveForce Double | Valid for: G; Default: `1.0`; Minimum: `0.0`; Notes: `Sfdp` only
Root Root | Valid for: GN; Default: ``NodeName` ""` (graphs), ``NotCentral`` (nodes); Parsing Default: `IsCentral`; Notes: `Circo`, `Twopi` only
Rotate Int | Valid for: G; Default: `0`
Rotation Double | Valid for: G; Default: `0`; Notes: `Sfdp` only, requires Graphviz >= 2.28.0
SameHead Text | Valid for: E; Default: `""`; Notes: `Dot` only
SameTail Text | Valid for: E; Default: `""`; Notes: `Dot` only
SamplePoints Int | Valid for: N; Default: `8` (output), `20` (overlap and image maps)
Scale DPoint | Valid for: G; Notes: Not `Dot`, requires Graphviz >= 2.28.0 (>= 2.38.0 for anything except `TwoPi`)
SearchSize Int | Valid for: G; Default: `30`; Notes: `Dot` only
Sep DPoint | Valid for: G; Default: ``DVal` 4`; Notes: not `Dot`
Shape Shape | Valid for: N; Default: ``Ellipse``
ShowBoxes Int | Valid for: ENG; Default: `0`; Minimum: `0`; Notes: `Dot` only; used for debugging by printing PostScript guide boxes
Sides Int | Valid for: N; Default: `4`; Minimum: `0`
Size GraphSize | Valid for: G
Skew Double | Valid for: N; Default: `0.0`; Minimum: `-100.0`
Smoothing SmoothType | Valid for: G; Default: ``NoSmooth``; Notes: `Sfdp` only
SortV Word16 | Valid for: GCN; Default: `0`; Minimum: `0`
Splines EdgeType | Valid for: G; Default: ``SplineEdges`` (`Dot`), ``LineEdges`` (other); Parsing Default: `SplineEdges`
Start StartType | Valid for: G; Default: ``StartStyleSeed` `RandomStyle` seed` for some unknown fixed seed.; Notes: `Fdp`, `Neato` only
Style [StyleItem] | Valid for: ENCG
StyleSheet Text | Valid for: G; Default: `""`; Notes: svg only
TailURL EscString | Valid for: E; Default: `""`; Notes: svg, map only
Tail_LP Point | Valid for: E; Notes: write only, requires Graphviz >= 2.30.0
TailClip Bool | Valid for: E; Default: ``True``; Parsing Default: `True`
TailLabel Label | Valid for: E; Default: ``StrLabel` ""`
TailPort PortPos | Valid for: E; Default: ``CompassPoint` `CenterPoint``
TailTarget EscString | Valid for: E; Default: none; Notes: svg, map only
TailTooltip EscString | Valid for: E; Default: `""`; Notes: svg, cmap only
Target EscString | Valid for: ENGC; Default: none; Notes: svg, map only
Tooltip EscString | Valid for: NEC; Default: `""`; Notes: svg, cmap only
TrueColor Bool | Valid for: G; Parsing Default: `True`; Notes: bitmap output only
Vertices [Point] | Valid for: N; Notes: write only
ViewPort ViewPort | Valid for: G; Default: none
VoroMargin Double | Valid for: G; Default: `0.05`; Minimum: `0.0`; Notes: not `Dot`
Weight Number | Valid for: E; Default: ``Int` 1`; Minimum: ``Int` 0` (`Dot`), ``Int` 1` (`Neato`,`Fdp`,`Sfdp`); Notes: as of Graphviz 2.30: weights for dot need to be `Int`s
Width Double | Valid for: N; Default: `0.75`; Minimum: `0.01`
XDotVersion Version | Valid for: G; Notes: xdot only, requires Graphviz >= 2.34.0, equivalent to specifying version of xdot to be used
XLabel Label | Valid for: EN; Default: ``StrLabel` ""`; Notes: requires Graphviz >= 2.29.0
XLP Point | Valid for: EN; Notes: write only, requires Graphviz >= 2.29.0
UnknownAttribute AttributeName Text | Valid for: Assumed valid for all; the fields are `Attribute` name and value respectively.

#### Instances

Instances details

Read Attribute Source # |
Instance details Defined in Data.GraphViz.Attributes.Complete Methods readsPrec :: Int -> ReadS Attribute Source # readList :: ReadS [Attribute] Source # readPrec :: ReadPrec Attribute Source # readListPrec :: ReadPrec [Attribute] Source #
Show Attribute Source # |
Instance details Defined in Data.GraphViz.Attributes.Complete Methods showsPrec :: Int -> Attribute -> ShowS Source # show :: Attribute -> String Source # showList :: [Attribute] -> ShowS Source #
Eq Attribute Source # |
Instance details Defined in Data.GraphViz.Attributes.Complete Methods (==) :: Attribute -> Attribute -> Bool Source # (/=) :: Attribute -> Attribute -> Bool Source #
Ord Attribute Source # |

Instance details

Defined in Data.GraphViz.Attributes.Complete

Methods

compare :: Attribute -> Attribute -> Ordering Source #

(<) :: Attribute -> Attribute -> Bool Source #

(<=) :: Attribute -> Attribute -> Bool Source #

(>) :: Attribute -> Attribute -> Bool Source #

(>=) :: Attribute -> Attribute -> Bool Source #

max :: Attribute -> Attribute -> Attribute Source #

min :: Attribute -> Attribute -> Attribute Source #

ParseDot Attribute Source # |
Instance details Defined in Data.GraphViz.Attributes.Complete Methods parseUnqt :: Parse Attribute Source # parse :: Parse Attribute Source # parseUnqtList :: Parse [Attribute] Source # parseList :: Parse [Attribute] Source #
PrintDot Attribute Source # |
Instance details Defined in Data.GraphViz.Attributes.Complete Methods unqtDot :: Attribute -> DotCode Source # toDot :: Attribute -> DotCode Source # unqtListToDot :: [Attribute] -> DotCode Source # listToDot :: [Attribute] -> DotCode Source #

type Attributes = [Attribute] Source #

sameAttribute :: Attribute -> Attribute -> Bool Source #

Determine if two `Attributes` are the same type of `Attribute`.

defaultAttributeValue :: Attribute -> Maybe Attribute Source #

Return the default value for a specific `Attribute` if possible; graphcluster values are preferred over nodeedge values.

rmUnwantedAttributes :: Attributes -> Attributes Source #

Remove attributes that we don't want to consider:

- Those that are defaults
- colorscheme (as the colors embed it anyway)

## Validity functions on `Attribute` values.

usedByGraphs :: Attribute -> Bool Source #

Determine if this `Attribute` is valid for use with Graphs.

usedBySubGraphs :: Attribute -> Bool Source #

Determine if this `Attribute` is valid for use with SubGraphs.

usedByClusters :: Attribute -> Bool Source #

Determine if this `Attribute` is valid for use with Clusters.

usedByNodes :: Attribute -> Bool Source #

Determine if this `Attribute` is valid for use with Nodes.

usedByEdges :: Attribute -> Bool Source #

Determine if this `Attribute` is valid for use with Edges.

validUnknown :: AttributeName -> Bool Source #

Determine if the provided `Text` value is a valid name for an `UnknownAttribute`.

## Custom attributes.

type AttributeName = Text Source #

The name for an UnknownAttribute; must satisfy `validUnknown`.

type CustomAttribute = Attribute Source #

If performing any custom pre-/post-processing on Dot code, you may wish to utilise some custom `Attributes`. These are wrappers around the `UnknownAttribute` constructor (and thus `CustomAttribute` is just an alias for `Attribute`).

You should ensure that `validUnknown` is `True` for any potential custom attribute name.

customAttribute :: AttributeName -> Text -> CustomAttribute Source #

Create a custom attribute.

isCustom :: Attribute -> Bool Source #

Determines whether or not this is a custom attribute.

isSpecifiedCustom :: AttributeName -> Attribute -> Bool Source #

customValue :: CustomAttribute -> Text Source #

The value of a custom attribute. Will throw a `GraphvizException` if the provided `Attribute` isn't a custom one.

customName :: CustomAttribute -> AttributeName Source #

The name of a custom attribute. Will throw a `GraphvizException` if the provided `Attribute` isn't a custom one.

findCustoms :: Attributes -> ([CustomAttribute], Attributes) Source #

Returns all custom attributes and the list of non-custom Attributes.

findSpecifiedCustom :: AttributeName -> Attributes -> Maybe (CustomAttribute, Attributes) Source #

Find the (first instance of the) specified custom attribute and returns it along with all other Attributes.

deleteCustomAttributes :: Attributes -> Attributes Source #

Delete all custom attributes (actually, this will delete all `UnknownAttribute` values; as such it can also be used to remove legacy attributes).

deleteSpecifiedCustom :: AttributeName -> Attributes -> Attributes Source #

Removes all instances of the specified custom attribute.

# Value types for `Attribute`s.

module Data.GraphViz.Attributes.Colors

## Generic types

data Number Source #

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

Constructors

Int Int |
Dbl Double |

#### Instances

Instances details

Read Number Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS Number Source # readList :: ReadS [Number] Source # readPrec :: ReadPrec Number Source # readListPrec :: ReadPrec [Number] Source #
Show Number Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> Number -> ShowS Source # show :: Number -> String Source # showList :: [Number] -> ShowS Source #
Eq Number Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: Number -> Number -> Bool Source # (/=) :: Number -> Number -> Bool Source #
Ord Number Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: Number -> Number -> Ordering Source # (<) :: Number -> Number -> Bool Source # (<=) :: Number -> Number -> Bool Source # (>) :: Number -> Number -> Bool Source # (>=) :: Number -> Number -> Bool Source # max :: Number -> Number -> Number Source # min :: Number -> Number -> Number Source #
ParseDot Number Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse Number Source # parse :: Parse Number Source # parseUnqtList :: Parse [Number] Source # parseList :: Parse [Number] Source #
PrintDot Number Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: Number -> DotCode Source # toDot :: Number -> DotCode Source # unqtListToDot :: [Number] -> DotCode Source # listToDot :: [Number] -> DotCode Source #

## Labels

type EscString = Text Source #

Some `Attribute`s (mainly label-like ones) take a `String` argument that allows for extra escape codes. This library doesn't do any extra checks or special parsing for these escape codes, but usage of `EscString` rather than `Text` indicates that the Graphviz tools will recognise these extra escape codes for these `Attribute`s.

The extra escape codes include (note that these are all Strings):

`\N`
  Replace with the name of the node (for Node `Attribute`s).
`\G`
  Replace with the name of the graph (for Node `Attribute`s) or the name of the graph or cluster, whichever is applicable (for Graph, Cluster and Edge `Attribute`s).
`\E`
  Replace with the name of the edge, formed by the two adjoining nodes and the edge type (for Edge `Attribute`s).
`\T`
  Replace with the name of the tail node (for Edge `Attribute`s).
`\H`
  Replace with the name of the head node (for Edge `Attribute`s).
`\L`
  Replace with the object's label (for all `Attribute`s).

Also, if the `Attribute` in question is `Label`, `HeadLabel` or `TailLabel`, then `\n`, `\l` and `\r` split the label into lines centered, left-justified and right-justified respectively.

data Label Source #

Constructors

StrLabel EscString |
HtmlLabel Label | If `PlainText` is used, the `Label` value is the entire "shape"; if anything else except `PointShape` is used then the `Label` is embedded within the shape.
RecordLabel RecordFields | For nodes only; requires either `Record` or `MRecord` as the shape.

#### Instances

Instances details

Read Label Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS Label Source # readList :: ReadS [Label] Source # readPrec :: ReadPrec Label Source # readListPrec :: ReadPrec [Label] Source #
Show Label Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> Label -> ShowS Source # show :: Label -> String Source # showList :: [Label] -> ShowS Source #
Eq Label Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: Label -> Label -> Bool Source # (/=) :: Label -> Label -> Bool Source #
Ord Label Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: Label -> Label -> Ordering Source # (<) :: Label -> Label -> Bool Source # (<=) :: Label -> Label -> Bool Source # (>) :: Label -> Label -> Bool Source # (>=) :: Label -> Label -> Bool Source # max :: Label -> Label -> Label Source # min :: Label -> Label -> Label Source #
ParseDot Label Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse Label Source # parse :: Parse Label Source # parseUnqtList :: Parse [Label] Source # parseList :: Parse [Label] Source #
PrintDot Label Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: Label -> DotCode Source # toDot :: Label -> DotCode Source # unqtListToDot :: [Label] -> DotCode Source # listToDot :: [Label] -> DotCode Source #

data VerticalPlacement Source #

Constructors

VTop |
VCenter | Only valid for Nodes.
VBottom |

#### Instances

Instances details

Bounded VerticalPlacement Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods minBound :: VerticalPlacement Source # maxBound :: VerticalPlacement Source #
Enum VerticalPlacement Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

succ :: VerticalPlacement -> VerticalPlacement Source #

pred :: VerticalPlacement -> VerticalPlacement Source #

toEnum :: Int -> VerticalPlacement Source #

fromEnum :: VerticalPlacement -> Int Source #

enumFrom :: VerticalPlacement -> [VerticalPlacement] Source #

enumFromThen :: VerticalPlacement -> VerticalPlacement -> [VerticalPlacement] Source #

enumFromTo :: VerticalPlacement -> VerticalPlacement -> [VerticalPlacement] Source #

enumFromThenTo :: VerticalPlacement -> VerticalPlacement -> VerticalPlacement -> [VerticalPlacement] Source #

Read VerticalPlacement Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS VerticalPlacement Source # readList :: ReadS [VerticalPlacement] Source # readPrec :: ReadPrec VerticalPlacement Source # readListPrec :: ReadPrec [VerticalPlacement] Source #
Show VerticalPlacement Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> VerticalPlacement -> ShowS Source # show :: VerticalPlacement -> String Source # showList :: [VerticalPlacement] -> ShowS Source #
Eq VerticalPlacement Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: VerticalPlacement -> VerticalPlacement -> Bool Source # (/=) :: VerticalPlacement -> VerticalPlacement -> Bool Source #
Ord VerticalPlacement Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

compare :: VerticalPlacement -> VerticalPlacement -> Ordering Source #

(<) :: VerticalPlacement -> VerticalPlacement -> Bool Source #

(<=) :: VerticalPlacement -> VerticalPlacement -> Bool Source #

(>) :: VerticalPlacement -> VerticalPlacement -> Bool Source #

(>=) :: VerticalPlacement -> VerticalPlacement -> Bool Source #

max :: VerticalPlacement -> VerticalPlacement -> VerticalPlacement Source #

min :: VerticalPlacement -> VerticalPlacement -> VerticalPlacement Source #

ParseDot VerticalPlacement Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse VerticalPlacement Source # parse :: Parse VerticalPlacement Source # parseUnqtList :: Parse [VerticalPlacement] Source # parseList :: Parse [VerticalPlacement] Source #
PrintDot VerticalPlacement Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: VerticalPlacement -> DotCode Source # toDot :: VerticalPlacement -> DotCode Source # unqtListToDot :: [VerticalPlacement] -> DotCode Source # listToDot :: [VerticalPlacement] -> DotCode Source #

data LabelScheme Source #

How to treat a node whose name is of the form "`|edgelabel|*`" as a special node representing an edge label.

Constructors

NotEdgeLabel | No effect
CloseToCenter | Make node close to center of neighbor
CloseToOldCenter | Make node close to old center of neighbor
RemoveAndStraighten | Use a two-step process.

#### Instances

Instances details

Bounded LabelScheme Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods minBound :: LabelScheme Source # maxBound :: LabelScheme Source #
Enum LabelScheme Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

succ :: LabelScheme -> LabelScheme Source #

pred :: LabelScheme -> LabelScheme Source #

toEnum :: Int -> LabelScheme Source #

fromEnum :: LabelScheme -> Int Source #

enumFrom :: LabelScheme -> [LabelScheme] Source #

enumFromThen :: LabelScheme -> LabelScheme -> [LabelScheme] Source #

enumFromTo :: LabelScheme -> LabelScheme -> [LabelScheme] Source #

enumFromThenTo :: LabelScheme -> LabelScheme -> LabelScheme -> [LabelScheme] Source #

Read LabelScheme Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS LabelScheme Source # readList :: ReadS [LabelScheme] Source # readPrec :: ReadPrec LabelScheme Source # readListPrec :: ReadPrec [LabelScheme] Source #
Show LabelScheme Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> LabelScheme -> ShowS Source # show :: LabelScheme -> String Source # showList :: [LabelScheme] -> ShowS Source #
Eq LabelScheme Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: LabelScheme -> LabelScheme -> Bool Source # (/=) :: LabelScheme -> LabelScheme -> Bool Source #
Ord LabelScheme Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

compare :: LabelScheme -> LabelScheme -> Ordering Source #

(<) :: LabelScheme -> LabelScheme -> Bool Source #

(<=) :: LabelScheme -> LabelScheme -> Bool Source #

(>) :: LabelScheme -> LabelScheme -> Bool Source #

(>=) :: LabelScheme -> LabelScheme -> Bool Source #

max :: LabelScheme -> LabelScheme -> LabelScheme Source #

min :: LabelScheme -> LabelScheme -> LabelScheme Source #

ParseDot LabelScheme Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse LabelScheme Source # parse :: Parse LabelScheme Source # parseUnqtList :: Parse [LabelScheme] Source # parseList :: Parse [LabelScheme] Source #
PrintDot LabelScheme Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: LabelScheme -> DotCode Source # toDot :: LabelScheme -> DotCode Source # unqtListToDot :: [LabelScheme] -> DotCode Source # listToDot :: [LabelScheme] -> DotCode Source #

data SVGFontNames Source #

The mapping used for `FontName` values in SVG output.

More information can be found at http://www.graphviz.org/doc/fontfaq.txt.

Constructors

SvgNames | Use the legal generic SVG font names.
PostScriptNames | Use PostScript font names.
FontConfigNames | Use fontconfig font conventions.

#### Instances

Instances details

Bounded SVGFontNames Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods minBound :: SVGFontNames Source # maxBound :: SVGFontNames Source #
Enum SVGFontNames Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

succ :: SVGFontNames -> SVGFontNames Source #

pred :: SVGFontNames -> SVGFontNames Source #

toEnum :: Int -> SVGFontNames Source #

fromEnum :: SVGFontNames -> Int Source #

enumFrom :: SVGFontNames -> [SVGFontNames] Source #

enumFromThen :: SVGFontNames -> SVGFontNames -> [SVGFontNames] Source #

enumFromTo :: SVGFontNames -> SVGFontNames -> [SVGFontNames] Source #

enumFromThenTo :: SVGFontNames -> SVGFontNames -> SVGFontNames -> [SVGFontNames] Source #

Read SVGFontNames Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS SVGFontNames Source # readList :: ReadS [SVGFontNames] Source # readPrec :: ReadPrec SVGFontNames Source # readListPrec :: ReadPrec [SVGFontNames] Source #
Show SVGFontNames Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> SVGFontNames -> ShowS Source # show :: SVGFontNames -> String Source # showList :: [SVGFontNames] -> ShowS Source #
Eq SVGFontNames Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: SVGFontNames -> SVGFontNames -> Bool Source # (/=) :: SVGFontNames -> SVGFontNames -> Bool Source #
Ord SVGFontNames Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

compare :: SVGFontNames -> SVGFontNames -> Ordering Source #

(<) :: SVGFontNames -> SVGFontNames -> Bool Source #

(<=) :: SVGFontNames -> SVGFontNames -> Bool Source #

(>) :: SVGFontNames -> SVGFontNames -> Bool Source #

(>=) :: SVGFontNames -> SVGFontNames -> Bool Source #

max :: SVGFontNames -> SVGFontNames -> SVGFontNames Source #

min :: SVGFontNames -> SVGFontNames -> SVGFontNames Source #

ParseDot SVGFontNames Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse SVGFontNames Source # parse :: Parse SVGFontNames Source # parseUnqtList :: Parse [SVGFontNames] Source # parseList :: Parse [SVGFontNames] Source #
PrintDot SVGFontNames Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: SVGFontNames -> DotCode Source # toDot :: SVGFontNames -> DotCode Source # unqtListToDot :: [SVGFontNames] -> DotCode Source # listToDot :: [SVGFontNames] -> DotCode Source #

### Types representing the Dot grammar for records.

type RecordFields = [RecordField] Source #

A RecordFields value should never be empty.

data RecordField Source #

Specifies the sub-values of a record-based label. By default, the cells are laid out horizontally; use `FlipFields` to change the orientation of the fields (can be applied recursively). To change the default orientation, use `RankDir`.

Constructors

LabelledTarget PortName EscString |
PortName PortName | Will result in no label for that cell.
FieldLabel EscString |
FlipFields RecordFields |

#### Instances

Instances details

Read RecordField Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS RecordField Source # readList :: ReadS [RecordField] Source # readPrec :: ReadPrec RecordField Source # readListPrec :: ReadPrec [RecordField] Source #
Show RecordField Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> RecordField -> ShowS Source # show :: RecordField -> String Source # showList :: [RecordField] -> ShowS Source #
Eq RecordField Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: RecordField -> RecordField -> Bool Source # (/=) :: RecordField -> RecordField -> Bool Source #
Ord RecordField Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

compare :: RecordField -> RecordField -> Ordering Source #

(<) :: RecordField -> RecordField -> Bool Source #

(<=) :: RecordField -> RecordField -> Bool Source #

(>) :: RecordField -> RecordField -> Bool Source #

(>=) :: RecordField -> RecordField -> Bool Source #

max :: RecordField -> RecordField -> RecordField Source #

min :: RecordField -> RecordField -> RecordField Source #

Labellable RecordField Source # |
Instance details Defined in Data.GraphViz.Attributes Methods toLabelValue :: RecordField -> Label Source #
Labellable RecordFields Source # |
Instance details Defined in Data.GraphViz.Attributes Methods toLabelValue :: RecordFields -> Label Source #
ParseDot RecordField Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse RecordField Source # parse :: Parse RecordField Source # parseUnqtList :: Parse [RecordField] Source # parseList :: Parse [RecordField] Source #
PrintDot RecordField Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: RecordField -> DotCode Source # toDot :: RecordField -> DotCode Source # unqtListToDot :: [RecordField] -> DotCode Source # listToDot :: [RecordField] -> DotCode Source #

data Rect Source #

Should only have 2D points (i.e. created with `createPoint`).

Constructors

Rect Point Point |

#### Instances

Instances details

Read Rect Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS Rect Source # readList :: ReadS [Rect] Source # readPrec :: ReadPrec Rect Source # readListPrec :: ReadPrec [Rect] Source #
Show Rect Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> Rect -> ShowS Source # show :: Rect -> String Source # showList :: [Rect] -> ShowS Source #
Eq Rect Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: Rect -> Rect -> Bool Source # (/=) :: Rect -> Rect -> Bool Source #
Ord Rect Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: Rect -> Rect -> Ordering Source # (<) :: Rect -> Rect -> Bool Source # (<=) :: Rect -> Rect -> Bool Source # (>) :: Rect -> Rect -> Bool Source # (>=) :: Rect -> Rect -> Bool Source # max :: Rect -> Rect -> Rect Source # min :: Rect -> Rect -> Rect Source #
ParseDot Rect Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse Rect Source # parse :: Parse Rect Source # parseUnqtList :: Parse [Rect] Source # parseList :: Parse [Rect] Source #
PrintDot Rect Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: Rect -> DotCode Source # toDot :: Rect -> DotCode Source # unqtListToDot :: [Rect] -> DotCode Source # listToDot :: [Rect] -> DotCode Source #

data Justification Source #

Constructors

JLeft |
JRight |
JCenter |

#### Instances

Instances details

Bounded Justification Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods minBound :: Justification Source # maxBound :: Justification Source #
Enum Justification Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

succ :: Justification -> Justification Source #

pred :: Justification -> Justification Source #

toEnum :: Int -> Justification Source #

fromEnum :: Justification -> Int Source #

enumFrom :: Justification -> [Justification] Source #

enumFromThen :: Justification -> Justification -> [Justification] Source #

enumFromTo :: Justification -> Justification -> [Justification] Source #

enumFromThenTo :: Justification -> Justification -> Justification -> [Justification] Source #

Read Justification Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS Justification Source # readList :: ReadS [Justification] Source # readPrec :: ReadPrec Justification Source # readListPrec :: ReadPrec [Justification] Source #
Show Justification Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> Justification -> ShowS Source # show :: Justification -> String Source # showList :: [Justification] -> ShowS Source #
Eq Justification Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: Justification -> Justification -> Bool Source # (/=) :: Justification -> Justification -> Bool Source #
Ord Justification Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

compare :: Justification -> Justification -> Ordering Source #

(<) :: Justification -> Justification -> Bool Source #

(<=) :: Justification -> Justification -> Bool Source #

(>) :: Justification -> Justification -> Bool Source #

(>=) :: Justification -> Justification -> Bool Source #

max :: Justification -> Justification -> Justification Source #

min :: Justification -> Justification -> Justification Source #

ParseDot Justification Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse Justification Source # parse :: Parse Justification Source # parseUnqtList :: Parse [Justification] Source # parseList :: Parse [Justification] Source #
PrintDot Justification Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: Justification -> DotCode Source # toDot :: Justification -> DotCode Source # unqtListToDot :: [Justification] -> DotCode Source # listToDot :: [Justification] -> DotCode Source #

## Nodes

data Shape Source #

Geometries of shapes are affected by the attributes `Regular`, `Peripheries` and `Orientation`.

Constructors

BoxShape | Has synonyms of rect and rectangle.
Polygon | Also affected by `Sides`, `Skew` and `Distortion`.
Ellipse | Has synonym of oval.
Circle |
PointShape | Only affected by `Peripheries`, `Width` and `Height`.
Egg |
Triangle |
PlainText | Has synonym of none. Recommended for `HtmlLabel`s.
DiamondShape |
Trapezium |
Parallelogram |
House |
Pentagon |
Hexagon |
Septagon |
Octagon |
DoubleCircle |
DoubleOctagon |
TripleOctagon |
InvTriangle |
InvTrapezium |
InvHouse |
MDiamond |
MSquare |
MCircle |
Square |
Star | Requires Graphviz >= 2.32.0.
Underline | Requires Graphviz >= 2.36.0.
Note |
Tab |
Folder |
Box3D |
Component |
Promoter | Requires Graphviz >= 2.30.0.
CDS | Requires Graphviz >= 2.30.0.
Terminator | Requires Graphviz >= 2.30.0.
UTR | Requires Graphviz >= 2.30.0.
PrimerSite | Requires Graphviz >= 2.30.0.
RestrictionSite | Requires Graphviz >= 2.30.0.
FivePovOverhang | Requires Graphviz >= 2.30.0.
ThreePovOverhang | Requires Graphviz >= 2.30.0.
NoOverhang | Requires Graphviz >= 2.30.0.
Assembly | Requires Graphviz >= 2.30.0.
Signature | Requires Graphviz >= 2.30.0.
Insulator | Requires Graphviz >= 2.30.0.
Ribosite | Requires Graphviz >= 2.30.0.
RNAStab | Requires Graphviz >= 2.30.0.
ProteaseSite | Requires Graphviz >= 2.30.0.
ProteinStab | Requires Graphviz >= 2.30.0.
RPromoter | Requires Graphviz >= 2.30.0.
RArrow | Requires Graphviz >= 2.30.0.
LArrow | Requires Graphviz >= 2.30.0.
LPromoter | Requires Graphviz >= 2.30.0.
Record | Must specify the record shape with a `Label`.
MRecord | Must specify the record shape with a `Label`.

#### Instances

Instances details

Bounded Shape Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods minBound :: Shape Source # maxBound :: Shape Source #
Enum Shape Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods succ :: Shape -> Shape Source # pred :: Shape -> Shape Source # toEnum :: Int -> Shape Source # fromEnum :: Shape -> Int Source # enumFrom :: Shape -> [Shape] Source # enumFromThen :: Shape -> Shape -> [Shape] Source # enumFromTo :: Shape -> Shape -> [Shape] Source # enumFromThenTo :: Shape -> Shape -> Shape -> [Shape] Source #
Read Shape Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS Shape Source # readList :: ReadS [Shape] Source # readPrec :: ReadPrec Shape Source # readListPrec :: ReadPrec [Shape] Source #
Show Shape Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> Shape -> ShowS Source # show :: Shape -> String Source # showList :: [Shape] -> ShowS Source #
Eq Shape Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: Shape -> Shape -> Bool Source # (/=) :: Shape -> Shape -> Bool Source #
Ord Shape Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: Shape -> Shape -> Ordering Source # (<) :: Shape -> Shape -> Bool Source # (<=) :: Shape -> Shape -> Bool Source # (>) :: Shape -> Shape -> Bool Source # (>=) :: Shape -> Shape -> Bool Source # max :: Shape -> Shape -> Shape Source # min :: Shape -> Shape -> Shape Source #
ParseDot Shape Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse Shape Source # parse :: Parse Shape Source # parseUnqtList :: Parse [Shape] Source # parseList :: Parse [Shape] Source #
PrintDot Shape Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: Shape -> DotCode Source # toDot :: Shape -> DotCode Source # unqtListToDot :: [Shape] -> DotCode Source # listToDot :: [Shape] -> DotCode Source #

newtype Paths Source #

A list of search paths.

Constructors

Paths |

Fields

- paths :: [FilePath]

#### Instances

Instances details

Read Paths Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS Paths Source # readList :: ReadS [Paths] Source # readPrec :: ReadPrec Paths Source # readListPrec :: ReadPrec [Paths] Source #
Show Paths Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> Paths -> ShowS Source # show :: Paths -> String Source # showList :: [Paths] -> ShowS Source #
Eq Paths Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: Paths -> Paths -> Bool Source # (/=) :: Paths -> Paths -> Bool Source #
Ord Paths Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: Paths -> Paths -> Ordering Source # (<) :: Paths -> Paths -> Bool Source # (<=) :: Paths -> Paths -> Bool Source # (>) :: Paths -> Paths -> Bool Source # (>=) :: Paths -> Paths -> Bool Source # max :: Paths -> Paths -> Paths Source # min :: Paths -> Paths -> Paths Source #
ParseDot Paths Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse Paths Source # parse :: Parse Paths Source # parseUnqtList :: Parse [Paths] Source # parseList :: Parse [Paths] Source #
PrintDot Paths Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: Paths -> DotCode Source # toDot :: Paths -> DotCode Source # unqtListToDot :: [Paths] -> DotCode Source # listToDot :: [Paths] -> DotCode Source #

data ScaleType Source #

Constructors

UniformScale |
NoScale |
FillWidth |
FillHeight |
FillBoth |

#### Instances

Instances details

Bounded ScaleType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods minBound :: ScaleType Source # maxBound :: ScaleType Source #
Enum ScaleType Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

succ :: ScaleType -> ScaleType Source #

pred :: ScaleType -> ScaleType Source #

toEnum :: Int -> ScaleType Source #

fromEnum :: ScaleType -> Int Source #

enumFrom :: ScaleType -> [ScaleType] Source #

enumFromThen :: ScaleType -> ScaleType -> [ScaleType] Source #

enumFromTo :: ScaleType -> ScaleType -> [ScaleType] Source #

enumFromThenTo :: ScaleType -> ScaleType -> ScaleType -> [ScaleType] Source #

Read ScaleType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS ScaleType Source # readList :: ReadS [ScaleType] Source # readPrec :: ReadPrec ScaleType Source # readListPrec :: ReadPrec [ScaleType] Source #
Show ScaleType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> ScaleType -> ShowS Source # show :: ScaleType -> String Source # showList :: [ScaleType] -> ShowS Source #
Eq ScaleType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: ScaleType -> ScaleType -> Bool Source # (/=) :: ScaleType -> ScaleType -> Bool Source #
Ord ScaleType Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

compare :: ScaleType -> ScaleType -> Ordering Source #

(<) :: ScaleType -> ScaleType -> Bool Source #

(<=) :: ScaleType -> ScaleType -> Bool Source #

(>) :: ScaleType -> ScaleType -> Bool Source #

(>=) :: ScaleType -> ScaleType -> Bool Source #

max :: ScaleType -> ScaleType -> ScaleType Source #

min :: ScaleType -> ScaleType -> ScaleType Source #

ParseDot ScaleType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse ScaleType Source # parse :: Parse ScaleType Source # parseUnqtList :: Parse [ScaleType] Source # parseList :: Parse [ScaleType] Source #
PrintDot ScaleType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: ScaleType -> DotCode Source # toDot :: ScaleType -> DotCode Source # unqtListToDot :: [ScaleType] -> DotCode Source # listToDot :: [ScaleType] -> DotCode Source #

data NodeSize Source #

Determine how the `Width` and `Height` attributes specify the size of nodes.

Constructors

GrowAsNeeded | Nodes will be the smallest width and height needed to contain the label and any possible image. `Width` and `Height` are the minimum allowed sizes.
SetNodeSize | `Width` and `Height` dictate the size of the node with a warning if the label cannot fit in this.
SetShapeSize | `Width` and `Height` dictate the size of the shape only and the label can expand out of the shape (with a warning). Requires Graphviz >= 2.38.0.

#### Instances

Instances details

Bounded NodeSize Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods minBound :: NodeSize Source # maxBound :: NodeSize Source #
Enum NodeSize Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

succ :: NodeSize -> NodeSize Source #

pred :: NodeSize -> NodeSize Source #

toEnum :: Int -> NodeSize Source #

fromEnum :: NodeSize -> Int Source #

enumFrom :: NodeSize -> [NodeSize] Source #

enumFromThen :: NodeSize -> NodeSize -> [NodeSize] Source #

enumFromTo :: NodeSize -> NodeSize -> [NodeSize] Source #

enumFromThenTo :: NodeSize -> NodeSize -> NodeSize -> [NodeSize] Source #

Read NodeSize Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS NodeSize Source # readList :: ReadS [NodeSize] Source # readPrec :: ReadPrec NodeSize Source # readListPrec :: ReadPrec [NodeSize] Source #
Show NodeSize Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> NodeSize -> ShowS Source # show :: NodeSize -> String Source # showList :: [NodeSize] -> ShowS Source #
Eq NodeSize Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: NodeSize -> NodeSize -> Bool Source # (/=) :: NodeSize -> NodeSize -> Bool Source #
Ord NodeSize Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: NodeSize -> NodeSize -> Ordering Source # (<) :: NodeSize -> NodeSize -> Bool Source # (<=) :: NodeSize -> NodeSize -> Bool Source # (>) :: NodeSize -> NodeSize -> Bool Source # (>=) :: NodeSize -> NodeSize -> Bool Source # max :: NodeSize -> NodeSize -> NodeSize Source # min :: NodeSize -> NodeSize -> NodeSize Source #
ParseDot NodeSize Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse NodeSize Source # parse :: Parse NodeSize Source # parseUnqtList :: Parse [NodeSize] Source # parseList :: Parse [NodeSize] Source #
PrintDot NodeSize Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: NodeSize -> DotCode Source # toDot :: NodeSize -> DotCode Source # unqtListToDot :: [NodeSize] -> DotCode Source # listToDot :: [NodeSize] -> DotCode Source #

## Edges

data DirType Source #

Specify where to place arrow heads on an edge.

Constructors

Forward | Draw a directed edge with an arrow to the node it's pointing go.
Back | Draw a reverse directed edge with an arrow to the node it's coming from.
Both | Draw arrows on both ends of the edge.
NoDir | Draw an undirected edge.

#### Instances

Instances details

Bounded DirType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods minBound :: DirType Source # maxBound :: DirType Source #
Enum DirType Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

succ :: DirType -> DirType Source #

pred :: DirType -> DirType Source #

toEnum :: Int -> DirType Source #

fromEnum :: DirType -> Int Source #

enumFrom :: DirType -> [DirType] Source #

enumFromThen :: DirType -> DirType -> [DirType] Source #

enumFromTo :: DirType -> DirType -> [DirType] Source #

enumFromThenTo :: DirType -> DirType -> DirType -> [DirType] Source #

Read DirType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS DirType Source # readList :: ReadS [DirType] Source # readPrec :: ReadPrec DirType Source # readListPrec :: ReadPrec [DirType] Source #
Show DirType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> DirType -> ShowS Source # show :: DirType -> String Source # showList :: [DirType] -> ShowS Source #
Eq DirType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: DirType -> DirType -> Bool Source # (/=) :: DirType -> DirType -> Bool Source #
Ord DirType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: DirType -> DirType -> Ordering Source # (<) :: DirType -> DirType -> Bool Source # (<=) :: DirType -> DirType -> Bool Source # (>) :: DirType -> DirType -> Bool Source # (>=) :: DirType -> DirType -> Bool Source # max :: DirType -> DirType -> DirType Source # min :: DirType -> DirType -> DirType Source #
ParseDot DirType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse DirType Source # parse :: Parse DirType Source # parseUnqtList :: Parse [DirType] Source # parseList :: Parse [DirType] Source #
PrintDot DirType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: DirType -> DotCode Source # toDot :: DirType -> DotCode Source # unqtListToDot :: [DirType] -> DotCode Source # listToDot :: [DirType] -> DotCode Source #

data EdgeType Source #

Controls how (and if) edges are represented.

For `Dot`, the default is `SplineEdges`; for all other layouts the default is `LineEdges`.

Constructors

SplineEdges | Except for `Dot`, requires non-overlapping nodes (see `Overlap`).
LineEdges |
NoEdges |
PolyLine |
Ortho | Does not handle ports or edge labels in `Dot`.
Curved | Requires Graphviz >= 2.30.0.
CompoundEdge | `Fdp` only

#### Instances

Instances details

Bounded EdgeType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods minBound :: EdgeType Source # maxBound :: EdgeType Source #
Enum EdgeType Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

succ :: EdgeType -> EdgeType Source #

pred :: EdgeType -> EdgeType Source #

toEnum :: Int -> EdgeType Source #

fromEnum :: EdgeType -> Int Source #

enumFrom :: EdgeType -> [EdgeType] Source #

enumFromThen :: EdgeType -> EdgeType -> [EdgeType] Source #

enumFromTo :: EdgeType -> EdgeType -> [EdgeType] Source #

enumFromThenTo :: EdgeType -> EdgeType -> EdgeType -> [EdgeType] Source #

Read EdgeType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS EdgeType Source # readList :: ReadS [EdgeType] Source # readPrec :: ReadPrec EdgeType Source # readListPrec :: ReadPrec [EdgeType] Source #
Show EdgeType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> EdgeType -> ShowS Source # show :: EdgeType -> String Source # showList :: [EdgeType] -> ShowS Source #
Eq EdgeType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: EdgeType -> EdgeType -> Bool Source # (/=) :: EdgeType -> EdgeType -> Bool Source #
Ord EdgeType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: EdgeType -> EdgeType -> Ordering Source # (<) :: EdgeType -> EdgeType -> Bool Source # (<=) :: EdgeType -> EdgeType -> Bool Source # (>) :: EdgeType -> EdgeType -> Bool Source # (>=) :: EdgeType -> EdgeType -> Bool Source # max :: EdgeType -> EdgeType -> EdgeType Source # min :: EdgeType -> EdgeType -> EdgeType Source #
ParseDot EdgeType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse EdgeType Source # parse :: Parse EdgeType Source # parseUnqtList :: Parse [EdgeType] Source # parseList :: Parse [EdgeType] Source #
PrintDot EdgeType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: EdgeType -> DotCode Source # toDot :: EdgeType -> DotCode Source # unqtListToDot :: [EdgeType] -> DotCode Source # listToDot :: [EdgeType] -> DotCode Source #

### Modifying where edges point

newtype PortName Source #

Specifies a name for ports (used also in record-based and HTML-like labels). Note that it is not valid for a `PortName` value to contain a colon (`:`) character; it is assumed that it doesn't.

Constructors

PN |

Fields

- portName :: Text

#### Instances

Instances details

Read PortName Source # |
Instance details Defined in Data.GraphViz.Attributes.Internal Methods readsPrec :: Int -> ReadS PortName Source # readList :: ReadS [PortName] Source # readPrec :: ReadPrec PortName Source # readListPrec :: ReadPrec [PortName] Source #
Show PortName Source # |
Instance details Defined in Data.GraphViz.Attributes.Internal Methods showsPrec :: Int -> PortName -> ShowS Source # show :: PortName -> String Source # showList :: [PortName] -> ShowS Source #
Eq PortName Source # |
Instance details Defined in Data.GraphViz.Attributes.Internal Methods (==) :: PortName -> PortName -> Bool Source # (/=) :: PortName -> PortName -> Bool Source #
Ord PortName Source # |

Instance details

Defined in Data.GraphViz.Attributes.Internal

Methods

compare :: PortName -> PortName -> Ordering Source #

(<) :: PortName -> PortName -> Bool Source #

(<=) :: PortName -> PortName -> Bool Source #

(>) :: PortName -> PortName -> Bool Source #

(>=) :: PortName -> PortName -> Bool Source #

max :: PortName -> PortName -> PortName Source #

min :: PortName -> PortName -> PortName Source #

Labellable PortName Source # | A shorter variant than using `PortName` from `RecordField`.
Instance details Defined in Data.GraphViz.Attributes Methods toLabelValue :: PortName -> Label Source #
ParseDot PortName Source # |
Instance details Defined in Data.GraphViz.Attributes.Internal Methods parseUnqt :: Parse PortName Source # parse :: Parse PortName Source # parseUnqtList :: Parse [PortName] Source # parseList :: Parse [PortName] Source #
PrintDot PortName Source # |
Instance details Defined in Data.GraphViz.Attributes.Internal Methods unqtDot :: PortName -> DotCode Source # toDot :: PortName -> DotCode Source # unqtListToDot :: [PortName] -> DotCode Source # listToDot :: [PortName] -> DotCode Source #
Labellable (PortName, EscString) Source # | A shorter variant than using `LabelledTarget`.
Instance details Defined in Data.GraphViz.Attributes Methods toLabelValue :: (PortName, EscString) -> Label Source #

data PortPos Source #

Constructors

LabelledPort PortName (Maybe CompassPoint) |
CompassPoint CompassPoint |

#### Instances

Instances details

Read PortPos Source # |
Instance details Defined in Data.GraphViz.Attributes.Internal Methods readsPrec :: Int -> ReadS PortPos Source # readList :: ReadS [PortPos] Source # readPrec :: ReadPrec PortPos Source # readListPrec :: ReadPrec [PortPos] Source #
Show PortPos Source # |
Instance details Defined in Data.GraphViz.Attributes.Internal Methods showsPrec :: Int -> PortPos -> ShowS Source # show :: PortPos -> String Source # showList :: [PortPos] -> ShowS Source #
Eq PortPos Source # |
Instance details Defined in Data.GraphViz.Attributes.Internal Methods (==) :: PortPos -> PortPos -> Bool Source # (/=) :: PortPos -> PortPos -> Bool Source #
Ord PortPos Source # |
Instance details Defined in Data.GraphViz.Attributes.Internal Methods compare :: PortPos -> PortPos -> Ordering Source # (<) :: PortPos -> PortPos -> Bool Source # (<=) :: PortPos -> PortPos -> Bool Source # (>) :: PortPos -> PortPos -> Bool Source # (>=) :: PortPos -> PortPos -> Bool Source # max :: PortPos -> PortPos -> PortPos Source # min :: PortPos -> PortPos -> PortPos Source #
ParseDot PortPos Source # |
Instance details Defined in Data.GraphViz.Attributes.Internal Methods parseUnqt :: Parse PortPos Source # parse :: Parse PortPos Source # parseUnqtList :: Parse [PortPos] Source # parseList :: Parse [PortPos] Source #
PrintDot PortPos Source # |
Instance details Defined in Data.GraphViz.Attributes.Internal Methods unqtDot :: PortPos -> DotCode Source # toDot :: PortPos -> DotCode Source # unqtListToDot :: [PortPos] -> DotCode Source # listToDot :: [PortPos] -> DotCode Source #

data CompassPoint Source #

Constructors

North |
NorthEast |
East |
SouthEast |
South |
SouthWest |
West |
NorthWest |
CenterPoint |
NoCP |

#### Instances

Instances details

Bounded CompassPoint Source # |
Instance details Defined in Data.GraphViz.Attributes.Internal Methods minBound :: CompassPoint Source # maxBound :: CompassPoint Source #
Enum CompassPoint Source # |

Instance details

Defined in Data.GraphViz.Attributes.Internal

Methods

succ :: CompassPoint -> CompassPoint Source #

pred :: CompassPoint -> CompassPoint Source #

toEnum :: Int -> CompassPoint Source #

fromEnum :: CompassPoint -> Int Source #

enumFrom :: CompassPoint -> [CompassPoint] Source #

enumFromThen :: CompassPoint -> CompassPoint -> [CompassPoint] Source #

enumFromTo :: CompassPoint -> CompassPoint -> [CompassPoint] Source #

enumFromThenTo :: CompassPoint -> CompassPoint -> CompassPoint -> [CompassPoint] Source #

Read CompassPoint Source # |
Instance details Defined in Data.GraphViz.Attributes.Internal Methods readsPrec :: Int -> ReadS CompassPoint Source # readList :: ReadS [CompassPoint] Source # readPrec :: ReadPrec CompassPoint Source # readListPrec :: ReadPrec [CompassPoint] Source #
Show CompassPoint Source # |
Instance details Defined in Data.GraphViz.Attributes.Internal Methods showsPrec :: Int -> CompassPoint -> ShowS Source # show :: CompassPoint -> String Source # showList :: [CompassPoint] -> ShowS Source #
Eq CompassPoint Source # |
Instance details Defined in Data.GraphViz.Attributes.Internal Methods (==) :: CompassPoint -> CompassPoint -> Bool Source # (/=) :: CompassPoint -> CompassPoint -> Bool Source #
Ord CompassPoint Source # |

Instance details

Defined in Data.GraphViz.Attributes.Internal

Methods

compare :: CompassPoint -> CompassPoint -> Ordering Source #

(<) :: CompassPoint -> CompassPoint -> Bool Source #

(<=) :: CompassPoint -> CompassPoint -> Bool Source #

(>) :: CompassPoint -> CompassPoint -> Bool Source #

(>=) :: CompassPoint -> CompassPoint -> Bool Source #

max :: CompassPoint -> CompassPoint -> CompassPoint Source #

min :: CompassPoint -> CompassPoint -> CompassPoint Source #

ParseDot CompassPoint Source # |
Instance details Defined in Data.GraphViz.Attributes.Internal Methods parseUnqt :: Parse CompassPoint Source # parse :: Parse CompassPoint Source # parseUnqtList :: Parse [CompassPoint] Source # parseList :: Parse [CompassPoint] Source #
PrintDot CompassPoint Source # |
Instance details Defined in Data.GraphViz.Attributes.Internal Methods unqtDot :: CompassPoint -> DotCode Source # toDot :: CompassPoint -> DotCode Source # unqtListToDot :: [CompassPoint] -> DotCode Source # listToDot :: [CompassPoint] -> DotCode Source #

### Arrows

newtype ArrowType Source #

Dot has a basic grammar of arrow shapes which allows usage of up to 1,544,761 different shapes from 9 different basic `ArrowShape`s. Note that whilst an explicit list is used in the definition of `ArrowType`, there must be at least one tuple and a maximum of 4 (since that is what is required by Dot). For more information, see: http://graphviz.org/doc/info/arrows.html

The 19 basic arrows shown on the overall attributes page have been defined below as a convenience. Parsing of the 5 backward-compatible special cases is also supported.

Constructors

AType [(ArrowModifier, ArrowShape)] |

#### Instances

Instances details

Read ArrowType Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods readsPrec :: Int -> ReadS ArrowType Source # readList :: ReadS [ArrowType] Source # readPrec :: ReadPrec ArrowType Source # readListPrec :: ReadPrec [ArrowType] Source #
Show ArrowType Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods showsPrec :: Int -> ArrowType -> ShowS Source # show :: ArrowType -> String Source # showList :: [ArrowType] -> ShowS Source #
Eq ArrowType Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods (==) :: ArrowType -> ArrowType -> Bool Source # (/=) :: ArrowType -> ArrowType -> Bool Source #
Ord ArrowType Source # |

Instance details

Defined in Data.GraphViz.Attributes.Arrows

Methods

compare :: ArrowType -> ArrowType -> Ordering Source #

(<) :: ArrowType -> ArrowType -> Bool Source #

(<=) :: ArrowType -> ArrowType -> Bool Source #

(>) :: ArrowType -> ArrowType -> Bool Source #

(>=) :: ArrowType -> ArrowType -> Bool Source #

max :: ArrowType -> ArrowType -> ArrowType Source #

min :: ArrowType -> ArrowType -> ArrowType Source #

ParseDot ArrowType Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods parseUnqt :: Parse ArrowType Source # parse :: Parse ArrowType Source # parseUnqtList :: Parse [ArrowType] Source # parseList :: Parse [ArrowType] Source #
PrintDot ArrowType Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods unqtDot :: ArrowType -> DotCode Source # toDot :: ArrowType -> DotCode Source # unqtListToDot :: [ArrowType] -> DotCode Source # listToDot :: [ArrowType] -> DotCode Source #

data ArrowShape Source #

Constructors

Box |
Crow |
Diamond |
DotArrow |
Inv |
NoArrow |
Normal |
Tee |
Vee |

#### Instances

Instances details

Bounded ArrowShape Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods minBound :: ArrowShape Source # maxBound :: ArrowShape Source #
Enum ArrowShape Source # |

Instance details

Defined in Data.GraphViz.Attributes.Arrows

Methods

succ :: ArrowShape -> ArrowShape Source #

pred :: ArrowShape -> ArrowShape Source #

toEnum :: Int -> ArrowShape Source #

fromEnum :: ArrowShape -> Int Source #

enumFrom :: ArrowShape -> [ArrowShape] Source #

enumFromThen :: ArrowShape -> ArrowShape -> [ArrowShape] Source #

enumFromTo :: ArrowShape -> ArrowShape -> [ArrowShape] Source #

enumFromThenTo :: ArrowShape -> ArrowShape -> ArrowShape -> [ArrowShape] Source #

Read ArrowShape Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods readsPrec :: Int -> ReadS ArrowShape Source # readList :: ReadS [ArrowShape] Source # readPrec :: ReadPrec ArrowShape Source # readListPrec :: ReadPrec [ArrowShape] Source #
Show ArrowShape Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods showsPrec :: Int -> ArrowShape -> ShowS Source # show :: ArrowShape -> String Source # showList :: [ArrowShape] -> ShowS Source #
Eq ArrowShape Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods (==) :: ArrowShape -> ArrowShape -> Bool Source # (/=) :: ArrowShape -> ArrowShape -> Bool Source #
Ord ArrowShape Source # |

Instance details

Defined in Data.GraphViz.Attributes.Arrows

Methods

compare :: ArrowShape -> ArrowShape -> Ordering Source #

(<) :: ArrowShape -> ArrowShape -> Bool Source #

(<=) :: ArrowShape -> ArrowShape -> Bool Source #

(>) :: ArrowShape -> ArrowShape -> Bool Source #

(>=) :: ArrowShape -> ArrowShape -> Bool Source #

max :: ArrowShape -> ArrowShape -> ArrowShape Source #

min :: ArrowShape -> ArrowShape -> ArrowShape Source #

ParseDot ArrowShape Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods parseUnqt :: Parse ArrowShape Source # parse :: Parse ArrowShape Source # parseUnqtList :: Parse [ArrowShape] Source # parseList :: Parse [ArrowShape] Source #
PrintDot ArrowShape Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods unqtDot :: ArrowShape -> DotCode Source # toDot :: ArrowShape -> DotCode Source # unqtListToDot :: [ArrowShape] -> DotCode Source # listToDot :: [ArrowShape] -> DotCode Source #

data ArrowModifier Source #

What modifications to apply to an `ArrowShape`.

Constructors

ArrMod |

Fields

- arrowFill :: ArrowFill
- arrowSide :: ArrowSide

#### Instances

Instances details

Read ArrowModifier Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods readsPrec :: Int -> ReadS ArrowModifier Source # readList :: ReadS [ArrowModifier] Source # readPrec :: ReadPrec ArrowModifier Source # readListPrec :: ReadPrec [ArrowModifier] Source #
Show ArrowModifier Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods showsPrec :: Int -> ArrowModifier -> ShowS Source # show :: ArrowModifier -> String Source # showList :: [ArrowModifier] -> ShowS Source #
Eq ArrowModifier Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods (==) :: ArrowModifier -> ArrowModifier -> Bool Source # (/=) :: ArrowModifier -> ArrowModifier -> Bool Source #
Ord ArrowModifier Source # |

Instance details

Defined in Data.GraphViz.Attributes.Arrows

Methods

compare :: ArrowModifier -> ArrowModifier -> Ordering Source #

(<) :: ArrowModifier -> ArrowModifier -> Bool Source #

(<=) :: ArrowModifier -> ArrowModifier -> Bool Source #

(>) :: ArrowModifier -> ArrowModifier -> Bool Source #

(>=) :: ArrowModifier -> ArrowModifier -> Bool Source #

max :: ArrowModifier -> ArrowModifier -> ArrowModifier Source #

min :: ArrowModifier -> ArrowModifier -> ArrowModifier Source #

ParseDot ArrowModifier Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods parseUnqt :: Parse ArrowModifier Source # parse :: Parse ArrowModifier Source # parseUnqtList :: Parse [ArrowModifier] Source # parseList :: Parse [ArrowModifier] Source #
PrintDot ArrowModifier Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods unqtDot :: ArrowModifier -> DotCode Source # toDot :: ArrowModifier -> DotCode Source # unqtListToDot :: [ArrowModifier] -> DotCode Source # listToDot :: [ArrowModifier] -> DotCode Source #

data ArrowFill Source #

Constructors

OpenArrow |
FilledArrow |

#### Instances

Instances details

Bounded ArrowFill Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods minBound :: ArrowFill Source # maxBound :: ArrowFill Source #
Enum ArrowFill Source # |

Instance details

Defined in Data.GraphViz.Attributes.Arrows

Methods

succ :: ArrowFill -> ArrowFill Source #

pred :: ArrowFill -> ArrowFill Source #

toEnum :: Int -> ArrowFill Source #

fromEnum :: ArrowFill -> Int Source #

enumFrom :: ArrowFill -> [ArrowFill] Source #

enumFromThen :: ArrowFill -> ArrowFill -> [ArrowFill] Source #

enumFromTo :: ArrowFill -> ArrowFill -> [ArrowFill] Source #

enumFromThenTo :: ArrowFill -> ArrowFill -> ArrowFill -> [ArrowFill] Source #

Read ArrowFill Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods readsPrec :: Int -> ReadS ArrowFill Source # readList :: ReadS [ArrowFill] Source # readPrec :: ReadPrec ArrowFill Source # readListPrec :: ReadPrec [ArrowFill] Source #
Show ArrowFill Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods showsPrec :: Int -> ArrowFill -> ShowS Source # show :: ArrowFill -> String Source # showList :: [ArrowFill] -> ShowS Source #
Eq ArrowFill Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods (==) :: ArrowFill -> ArrowFill -> Bool Source # (/=) :: ArrowFill -> ArrowFill -> Bool Source #
Ord ArrowFill Source # |

Instance details

Defined in Data.GraphViz.Attributes.Arrows

Methods

compare :: ArrowFill -> ArrowFill -> Ordering Source #

(<) :: ArrowFill -> ArrowFill -> Bool Source #

(<=) :: ArrowFill -> ArrowFill -> Bool Source #

(>) :: ArrowFill -> ArrowFill -> Bool Source #

(>=) :: ArrowFill -> ArrowFill -> Bool Source #

max :: ArrowFill -> ArrowFill -> ArrowFill Source #

min :: ArrowFill -> ArrowFill -> ArrowFill Source #

ParseDot ArrowFill Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods parseUnqt :: Parse ArrowFill Source # parse :: Parse ArrowFill Source # parseUnqtList :: Parse [ArrowFill] Source # parseList :: Parse [ArrowFill] Source #
PrintDot ArrowFill Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods unqtDot :: ArrowFill -> DotCode Source # toDot :: ArrowFill -> DotCode Source # unqtListToDot :: [ArrowFill] -> DotCode Source # listToDot :: [ArrowFill] -> DotCode Source #

data ArrowSide Source #

Represents which side (when looking towards the node the arrow is pointing to) is drawn.

Constructors

LeftSide |
RightSide |
BothSides |

#### Instances

Instances details

Bounded ArrowSide Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods minBound :: ArrowSide Source # maxBound :: ArrowSide Source #
Enum ArrowSide Source # |

Instance details

Defined in Data.GraphViz.Attributes.Arrows

Methods

succ :: ArrowSide -> ArrowSide Source #

pred :: ArrowSide -> ArrowSide Source #

toEnum :: Int -> ArrowSide Source #

fromEnum :: ArrowSide -> Int Source #

enumFrom :: ArrowSide -> [ArrowSide] Source #

enumFromThen :: ArrowSide -> ArrowSide -> [ArrowSide] Source #

enumFromTo :: ArrowSide -> ArrowSide -> [ArrowSide] Source #

enumFromThenTo :: ArrowSide -> ArrowSide -> ArrowSide -> [ArrowSide] Source #

Read ArrowSide Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods readsPrec :: Int -> ReadS ArrowSide Source # readList :: ReadS [ArrowSide] Source # readPrec :: ReadPrec ArrowSide Source # readListPrec :: ReadPrec [ArrowSide] Source #
Show ArrowSide Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods showsPrec :: Int -> ArrowSide -> ShowS Source # show :: ArrowSide -> String Source # showList :: [ArrowSide] -> ShowS Source #
Eq ArrowSide Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods (==) :: ArrowSide -> ArrowSide -> Bool Source # (/=) :: ArrowSide -> ArrowSide -> Bool Source #
Ord ArrowSide Source # |

Instance details

Defined in Data.GraphViz.Attributes.Arrows

Methods

compare :: ArrowSide -> ArrowSide -> Ordering Source #

(<) :: ArrowSide -> ArrowSide -> Bool Source #

(<=) :: ArrowSide -> ArrowSide -> Bool Source #

(>) :: ArrowSide -> ArrowSide -> Bool Source #

(>=) :: ArrowSide -> ArrowSide -> Bool Source #

max :: ArrowSide -> ArrowSide -> ArrowSide Source #

min :: ArrowSide -> ArrowSide -> ArrowSide Source #

ParseDot ArrowSide Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods parseUnqt :: Parse ArrowSide Source # parse :: Parse ArrowSide Source # parseUnqtList :: Parse [ArrowSide] Source # parseList :: Parse [ArrowSide] Source #
PrintDot ArrowSide Source # |
Instance details Defined in Data.GraphViz.Attributes.Arrows Methods unqtDot :: ArrowSide -> DotCode Source # toDot :: ArrowSide -> DotCode Source # unqtListToDot :: [ArrowSide] -> DotCode Source # listToDot :: [ArrowSide] -> DotCode Source #

#### `ArrowModifier` values

noMods :: ArrowModifier Source #

Apply no modifications to an `ArrowShape`.

openMod :: ArrowModifier Source #

`OpenArrow` and `BothSides`

## Positioning

data Point Source #

Constructors

Point |

Fields

- xCoord :: Double
- yCoord :: Double
- zCoord :: Maybe Double

  Can only be `Just` for ``Dim` 3` or greater.

- forcePos :: Bool

  Input to Graphviz only: specify that the node position should not change.

#### Instances

Instances details

Read Point Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS Point Source # readList :: ReadS [Point] Source # readPrec :: ReadPrec Point Source # readListPrec :: ReadPrec [Point] Source #
Show Point Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> Point -> ShowS Source # show :: Point -> String Source # showList :: [Point] -> ShowS Source #
Eq Point Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: Point -> Point -> Bool Source # (/=) :: Point -> Point -> Bool Source #
Ord Point Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: Point -> Point -> Ordering Source # (<) :: Point -> Point -> Bool Source # (<=) :: Point -> Point -> Bool Source # (>) :: Point -> Point -> Bool Source # (>=) :: Point -> Point -> Bool Source # max :: Point -> Point -> Point Source # min :: Point -> Point -> Point Source #
ParseDot Point Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse Point Source # parse :: Parse Point Source # parseUnqtList :: Parse [Point] Source # parseList :: Parse [Point] Source #
PrintDot Point Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: Point -> DotCode Source # toDot :: Point -> DotCode Source # unqtListToDot :: [Point] -> DotCode Source # listToDot :: [Point] -> DotCode Source #

createPoint :: Double -> Double -> Point Source #

Create a point with only `x` and `y` values.

data Pos Source #

Constructors

PointPos Point |
SplinePos [Spline] |

#### Instances

Instances details

Read Pos Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS Pos Source # readList :: ReadS [Pos] Source # readPrec :: ReadPrec Pos Source # readListPrec :: ReadPrec [Pos] Source #
Show Pos Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> Pos -> ShowS Source # show :: Pos -> String Source # showList :: [Pos] -> ShowS Source #
Eq Pos Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: Pos -> Pos -> Bool Source # (/=) :: Pos -> Pos -> Bool Source #
Ord Pos Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: Pos -> Pos -> Ordering Source # (<) :: Pos -> Pos -> Bool Source # (<=) :: Pos -> Pos -> Bool Source # (>) :: Pos -> Pos -> Bool Source # (>=) :: Pos -> Pos -> Bool Source # max :: Pos -> Pos -> Pos Source # min :: Pos -> Pos -> Pos Source #
ParseDot Pos Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse Pos Source # parse :: Parse Pos Source # parseUnqtList :: Parse [Pos] Source # parseList :: Parse [Pos] Source #
PrintDot Pos Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: Pos -> DotCode Source # toDot :: Pos -> DotCode Source # unqtListToDot :: [Pos] -> DotCode Source # listToDot :: [Pos] -> DotCode Source #

data Spline Source #

The number of points in the list must be equivalent to 1 mod 3; note that this is not checked.

Constructors

Spline |

Fields

- endPoint :: Maybe Point
- startPoint :: Maybe Point
- splinePoints :: [Point]

#### Instances

Instances details

Read Spline Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS Spline Source # readList :: ReadS [Spline] Source # readPrec :: ReadPrec Spline Source # readListPrec :: ReadPrec [Spline] Source #
Show Spline Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> Spline -> ShowS Source # show :: Spline -> String Source # showList :: [Spline] -> ShowS Source #
Eq Spline Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: Spline -> Spline -> Bool Source # (/=) :: Spline -> Spline -> Bool Source #
Ord Spline Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: Spline -> Spline -> Ordering Source # (<) :: Spline -> Spline -> Bool Source # (<=) :: Spline -> Spline -> Bool Source # (>) :: Spline -> Spline -> Bool Source # (>=) :: Spline -> Spline -> Bool Source # max :: Spline -> Spline -> Spline Source # min :: Spline -> Spline -> Spline Source #
ParseDot Spline Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse Spline Source # parse :: Parse Spline Source # parseUnqtList :: Parse [Spline] Source # parseList :: Parse [Spline] Source #
PrintDot Spline Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: Spline -> DotCode Source # toDot :: Spline -> DotCode Source # unqtListToDot :: [Spline] -> DotCode Source # listToDot :: [Spline] -> DotCode Source #

data DPoint Source #

Either a `Double` or a (2D) `Point` (i.e. created with `createPoint`).

Whilst it is possible to create a `Point` value with either a third co-ordinate or a forced position, these are ignored for printing/parsing.

An optional prefix of `'+'` is allowed when parsing.

Constructors

DVal Double |
PVal Point |

#### Instances

Instances details

Read DPoint Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS DPoint Source # readList :: ReadS [DPoint] Source # readPrec :: ReadPrec DPoint Source # readListPrec :: ReadPrec [DPoint] Source #
Show DPoint Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> DPoint -> ShowS Source # show :: DPoint -> String Source # showList :: [DPoint] -> ShowS Source #
Eq DPoint Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: DPoint -> DPoint -> Bool Source # (/=) :: DPoint -> DPoint -> Bool Source #
Ord DPoint Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: DPoint -> DPoint -> Ordering Source # (<) :: DPoint -> DPoint -> Bool Source # (<=) :: DPoint -> DPoint -> Bool Source # (>) :: DPoint -> DPoint -> Bool Source # (>=) :: DPoint -> DPoint -> Bool Source # max :: DPoint -> DPoint -> DPoint Source # min :: DPoint -> DPoint -> DPoint Source #
ParseDot DPoint Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse DPoint Source # parse :: Parse DPoint Source # parseUnqtList :: Parse [DPoint] Source # parseList :: Parse [DPoint] Source #
PrintDot DPoint Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: DPoint -> DotCode Source # toDot :: DPoint -> DotCode Source # unqtListToDot :: [DPoint] -> DotCode Source # listToDot :: [DPoint] -> DotCode Source #

data Normalized Source #

If set, normalizes coordinates such that the first point is at the origin and the first edge is at the angle if specified.

Constructors

IsNormalized | Equivalent to ``NormalizedAngle` 0`.
NotNormalized |
NormalizedAngle Double | Angle of first edge when normalized. Requires Graphviz >= 2.32.0.

#### Instances

Instances details

Read Normalized Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS Normalized Source # readList :: ReadS [Normalized] Source # readPrec :: ReadPrec Normalized Source # readListPrec :: ReadPrec [Normalized] Source #
Show Normalized Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> Normalized -> ShowS Source # show :: Normalized -> String Source # showList :: [Normalized] -> ShowS Source #
Eq Normalized Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: Normalized -> Normalized -> Bool Source # (/=) :: Normalized -> Normalized -> Bool Source #
Ord Normalized Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

compare :: Normalized -> Normalized -> Ordering Source #

(<) :: Normalized -> Normalized -> Bool Source #

(<=) :: Normalized -> Normalized -> Bool Source #

(>) :: Normalized -> Normalized -> Bool Source #

(>=) :: Normalized -> Normalized -> Bool Source #

max :: Normalized -> Normalized -> Normalized Source #

min :: Normalized -> Normalized -> Normalized Source #

ParseDot Normalized Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse Normalized Source # parse :: Parse Normalized Source # parseUnqtList :: Parse [Normalized] Source # parseList :: Parse [Normalized] Source #
PrintDot Normalized Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: Normalized -> DotCode Source # toDot :: Normalized -> DotCode Source # unqtListToDot :: [Normalized] -> DotCode Source # listToDot :: [Normalized] -> DotCode Source #

## Layout

data GraphvizCommand Source #

The available Graphviz commands. The following directions are based upon those in the Graphviz man page (available online at http://graphviz.org/pdf/dot.1.pdf, or if installed on your system `man graphviz`). Note that any command can be used on both directed and undirected graphs.

When used with the `Layout` attribute, it overrides any actual command called on the dot graph.

Constructors

Dot | For hierachical graphs (ideal for directed graphs).
Neato | For symmetric layouts of graphs (ideal for undirected graphs).
TwoPi | For radial layout of graphs.
Circo | For circular layout of graphs.
Fdp | Spring-model approach for undirected graphs.
Sfdp | As with Fdp, but ideal for large graphs.
Osage | Filter for drawing clustered graphs, requires Graphviz >= 2.28.0.
Patchwork | Draw clustered graphs as treemaps, requires Graphviz >= 2.28.0.

#### Instances

Instances details

Bounded GraphvizCommand Source # |
Instance details Defined in Data.GraphViz.Commands.Available Methods minBound :: GraphvizCommand Source # maxBound :: GraphvizCommand Source #
Enum GraphvizCommand Source # |

Instance details

Defined in Data.GraphViz.Commands.Available

Methods

succ :: GraphvizCommand -> GraphvizCommand Source #

pred :: GraphvizCommand -> GraphvizCommand Source #

toEnum :: Int -> GraphvizCommand Source #

fromEnum :: GraphvizCommand -> Int Source #

enumFrom :: GraphvizCommand -> [GraphvizCommand] Source #

enumFromThen :: GraphvizCommand -> GraphvizCommand -> [GraphvizCommand] Source #

enumFromTo :: GraphvizCommand -> GraphvizCommand -> [GraphvizCommand] Source #

enumFromThenTo :: GraphvizCommand -> GraphvizCommand -> GraphvizCommand -> [GraphvizCommand] Source #

Read GraphvizCommand Source # |
Instance details Defined in Data.GraphViz.Commands.Available Methods readsPrec :: Int -> ReadS GraphvizCommand Source # readList :: ReadS [GraphvizCommand] Source # readPrec :: ReadPrec GraphvizCommand Source # readListPrec :: ReadPrec [GraphvizCommand] Source #
Show GraphvizCommand Source # |
Instance details Defined in Data.GraphViz.Commands.Available Methods showsPrec :: Int -> GraphvizCommand -> ShowS Source # show :: GraphvizCommand -> String Source # showList :: [GraphvizCommand] -> ShowS Source #
Eq GraphvizCommand Source # |
Instance details Defined in Data.GraphViz.Commands.Available Methods (==) :: GraphvizCommand -> GraphvizCommand -> Bool Source # (/=) :: GraphvizCommand -> GraphvizCommand -> Bool Source #
Ord GraphvizCommand Source # |

Instance details

Defined in Data.GraphViz.Commands.Available

Methods

compare :: GraphvizCommand -> GraphvizCommand -> Ordering Source #

(<) :: GraphvizCommand -> GraphvizCommand -> Bool Source #

(<=) :: GraphvizCommand -> GraphvizCommand -> Bool Source #

(>) :: GraphvizCommand -> GraphvizCommand -> Bool Source #

(>=) :: GraphvizCommand -> GraphvizCommand -> Bool Source #

max :: GraphvizCommand -> GraphvizCommand -> GraphvizCommand Source #

min :: GraphvizCommand -> GraphvizCommand -> GraphvizCommand Source #

ParseDot GraphvizCommand Source # |
Instance details Defined in Data.GraphViz.Commands.Available Methods parseUnqt :: Parse GraphvizCommand Source # parse :: Parse GraphvizCommand Source # parseUnqtList :: Parse [GraphvizCommand] Source # parseList :: Parse [GraphvizCommand] Source #
PrintDot GraphvizCommand Source # |
Instance details Defined in Data.GraphViz.Commands.Available Methods unqtDot :: GraphvizCommand -> DotCode Source # toDot :: GraphvizCommand -> DotCode Source # unqtListToDot :: [GraphvizCommand] -> DotCode Source # listToDot :: [GraphvizCommand] -> DotCode Source #

data GraphSize Source #

Maximum width and height of drawing in inches.

Constructors

GSize |

Fields

- width :: Double
- height :: Maybe Double

  If `Nothing`, then the height is the same as the width.

- desiredSize :: Bool

  If drawing is smaller than specified size, this value determines whether it is scaled up.

#### Instances

Instances details

Read GraphSize Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS GraphSize Source # readList :: ReadS [GraphSize] Source # readPrec :: ReadPrec GraphSize Source # readListPrec :: ReadPrec [GraphSize] Source #
Show GraphSize Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> GraphSize -> ShowS Source # show :: GraphSize -> String Source # showList :: [GraphSize] -> ShowS Source #
Eq GraphSize Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: GraphSize -> GraphSize -> Bool Source # (/=) :: GraphSize -> GraphSize -> Bool Source #
Ord GraphSize Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

compare :: GraphSize -> GraphSize -> Ordering Source #

(<) :: GraphSize -> GraphSize -> Bool Source #

(<=) :: GraphSize -> GraphSize -> Bool Source #

(>) :: GraphSize -> GraphSize -> Bool Source #

(>=) :: GraphSize -> GraphSize -> Bool Source #

max :: GraphSize -> GraphSize -> GraphSize Source #

min :: GraphSize -> GraphSize -> GraphSize Source #

ParseDot GraphSize Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse GraphSize Source # parse :: Parse GraphSize Source # parseUnqtList :: Parse [GraphSize] Source # parseList :: Parse [GraphSize] Source #
PrintDot GraphSize Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: GraphSize -> DotCode Source # toDot :: GraphSize -> DotCode Source # unqtListToDot :: [GraphSize] -> DotCode Source # listToDot :: [GraphSize] -> DotCode Source #

data ClusterMode Source #

If `Local`, then sub-graphs that are clusters are given special treatment. `Global` and `NoCluster` currently appear to be identical and turn off the special cluster processing.

Constructors

Local |
Global |
NoCluster |

#### Instances

Instances details

Bounded ClusterMode Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods minBound :: ClusterMode Source # maxBound :: ClusterMode Source #
Enum ClusterMode Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

succ :: ClusterMode -> ClusterMode Source #

pred :: ClusterMode -> ClusterMode Source #

toEnum :: Int -> ClusterMode Source #

fromEnum :: ClusterMode -> Int Source #

enumFrom :: ClusterMode -> [ClusterMode] Source #

enumFromThen :: ClusterMode -> ClusterMode -> [ClusterMode] Source #

enumFromTo :: ClusterMode -> ClusterMode -> [ClusterMode] Source #

enumFromThenTo :: ClusterMode -> ClusterMode -> ClusterMode -> [ClusterMode] Source #

Read ClusterMode Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS ClusterMode Source # readList :: ReadS [ClusterMode] Source # readPrec :: ReadPrec ClusterMode Source # readListPrec :: ReadPrec [ClusterMode] Source #
Show ClusterMode Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> ClusterMode -> ShowS Source # show :: ClusterMode -> String Source # showList :: [ClusterMode] -> ShowS Source #
Eq ClusterMode Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: ClusterMode -> ClusterMode -> Bool Source # (/=) :: ClusterMode -> ClusterMode -> Bool Source #
Ord ClusterMode Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

compare :: ClusterMode -> ClusterMode -> Ordering Source #

(<) :: ClusterMode -> ClusterMode -> Bool Source #

(<=) :: ClusterMode -> ClusterMode -> Bool Source #

(>) :: ClusterMode -> ClusterMode -> Bool Source #

(>=) :: ClusterMode -> ClusterMode -> Bool Source #

max :: ClusterMode -> ClusterMode -> ClusterMode Source #

min :: ClusterMode -> ClusterMode -> ClusterMode Source #

ParseDot ClusterMode Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse ClusterMode Source # parse :: Parse ClusterMode Source # parseUnqtList :: Parse [ClusterMode] Source # parseList :: Parse [ClusterMode] Source #
PrintDot ClusterMode Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: ClusterMode -> DotCode Source # toDot :: ClusterMode -> DotCode Source # unqtListToDot :: [ClusterMode] -> DotCode Source # listToDot :: [ClusterMode] -> DotCode Source #

data Model Source #

Constructors

ShortPath |
SubSet |
Circuit |
MDS |

#### Instances

Instances details

Bounded Model Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods minBound :: Model Source # maxBound :: Model Source #
Enum Model Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods succ :: Model -> Model Source # pred :: Model -> Model Source # toEnum :: Int -> Model Source # fromEnum :: Model -> Int Source # enumFrom :: Model -> [Model] Source # enumFromThen :: Model -> Model -> [Model] Source # enumFromTo :: Model -> Model -> [Model] Source # enumFromThenTo :: Model -> Model -> Model -> [Model] Source #
Read Model Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS Model Source # readList :: ReadS [Model] Source # readPrec :: ReadPrec Model Source # readListPrec :: ReadPrec [Model] Source #
Show Model Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> Model -> ShowS Source # show :: Model -> String Source # showList :: [Model] -> ShowS Source #
Eq Model Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: Model -> Model -> Bool Source # (/=) :: Model -> Model -> Bool Source #
Ord Model Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: Model -> Model -> Ordering Source # (<) :: Model -> Model -> Bool Source # (<=) :: Model -> Model -> Bool Source # (>) :: Model -> Model -> Bool Source # (>=) :: Model -> Model -> Bool Source # max :: Model -> Model -> Model Source # min :: Model -> Model -> Model Source #
ParseDot Model Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse Model Source # parse :: Parse Model Source # parseUnqtList :: Parse [Model] Source # parseList :: Parse [Model] Source #
PrintDot Model Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: Model -> DotCode Source # toDot :: Model -> DotCode Source # unqtListToDot :: [Model] -> DotCode Source # listToDot :: [Model] -> DotCode Source #

data Overlap Source #

How to deal with node overlaps.

Defaults to `KeepOverlaps` except for `Fdp` and `Sfdp`.

The ability to specify the number of tries for `Fdp'`s initial force-directed technique is not supported (by default, `Fdp` uses `9` passes of its in-built technique, and then ``PrismOverlap` Nothing`).

For `Sfdp`, the default is ``PrismOverlap` (Just 0)`.

Constructors

KeepOverlaps |
ScaleOverlaps | Remove overlaps by uniformly scaling in x and y.
ScaleXYOverlaps | Remove overlaps by separately scaling x and y.
PrismOverlap (Maybe Word16) | Requires the Prism library to be available (if not, this is equivalent to `VoronoiOverlap`). ``Nothing`` is equivalent to ``Just` 1000`. Influenced by `OverlapScaling`.
VoronoiOverlap | Requires Graphviz >= 2.30.0.
CompressOverlap | Scale layout down as much as possible without introducing overlaps, assuming none to begin with.
VpscOverlap | Uses quadratic optimization to minimize node displacement.
IpsepOverlap | Only when `mode == `IpSep``

#### Instances

Instances details

Read Overlap Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS Overlap Source # readList :: ReadS [Overlap] Source # readPrec :: ReadPrec Overlap Source # readListPrec :: ReadPrec [Overlap] Source #
Show Overlap Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> Overlap -> ShowS Source # show :: Overlap -> String Source # showList :: [Overlap] -> ShowS Source #
Eq Overlap Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: Overlap -> Overlap -> Bool Source # (/=) :: Overlap -> Overlap -> Bool Source #
Ord Overlap Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: Overlap -> Overlap -> Ordering Source # (<) :: Overlap -> Overlap -> Bool Source # (<=) :: Overlap -> Overlap -> Bool Source # (>) :: Overlap -> Overlap -> Bool Source # (>=) :: Overlap -> Overlap -> Bool Source # max :: Overlap -> Overlap -> Overlap Source # min :: Overlap -> Overlap -> Overlap Source #
ParseDot Overlap Source # | Note that `overlap=false` defaults to ``PrismOverlap` Nothing`, but if the Prism library isn't available then it is equivalent to `VoronoiOverlap`.
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse Overlap Source # parse :: Parse Overlap Source # parseUnqtList :: Parse [Overlap] Source # parseList :: Parse [Overlap] Source #
PrintDot Overlap Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: Overlap -> DotCode Source # toDot :: Overlap -> DotCode Source # unqtListToDot :: [Overlap] -> DotCode Source # listToDot :: [Overlap] -> DotCode Source #

data Root Source #

Specify the root node either as a Node attribute or a Graph attribute.

Constructors

IsCentral | For Nodes only
NotCentral | For Nodes only
NodeName Text | For Graphs only

#### Instances

Instances details

Read Root Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS Root Source # readList :: ReadS [Root] Source # readPrec :: ReadPrec Root Source # readListPrec :: ReadPrec [Root] Source #
Show Root Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> Root -> ShowS Source # show :: Root -> String Source # showList :: [Root] -> ShowS Source #
Eq Root Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: Root -> Root -> Bool Source # (/=) :: Root -> Root -> Bool Source #
Ord Root Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: Root -> Root -> Ordering Source # (<) :: Root -> Root -> Bool Source # (<=) :: Root -> Root -> Bool Source # (>) :: Root -> Root -> Bool Source # (>=) :: Root -> Root -> Bool Source # max :: Root -> Root -> Root Source # min :: Root -> Root -> Root Source #
ParseDot Root Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse Root Source # parse :: Parse Root Source # parseUnqtList :: Parse [Root] Source # parseList :: Parse [Root] Source #
PrintDot Root Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: Root -> DotCode Source # toDot :: Root -> DotCode Source # unqtListToDot :: [Root] -> DotCode Source # listToDot :: [Root] -> DotCode Source #

data Order Source #

Constructors

OutEdges | Draw outgoing edges in order specified.
InEdges | Draw incoming edges in order specified.

#### Instances

Instances details

Bounded Order Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods minBound :: Order Source # maxBound :: Order Source #
Enum Order Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods succ :: Order -> Order Source # pred :: Order -> Order Source # toEnum :: Int -> Order Source # fromEnum :: Order -> Int Source # enumFrom :: Order -> [Order] Source # enumFromThen :: Order -> Order -> [Order] Source # enumFromTo :: Order -> Order -> [Order] Source # enumFromThenTo :: Order -> Order -> Order -> [Order] Source #
Read Order Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS Order Source # readList :: ReadS [Order] Source # readPrec :: ReadPrec Order Source # readListPrec :: ReadPrec [Order] Source #
Show Order Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> Order -> ShowS Source # show :: Order -> String Source # showList :: [Order] -> ShowS Source #
Eq Order Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: Order -> Order -> Bool Source # (/=) :: Order -> Order -> Bool Source #
Ord Order Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: Order -> Order -> Ordering Source # (<) :: Order -> Order -> Bool Source # (<=) :: Order -> Order -> Bool Source # (>) :: Order -> Order -> Bool Source # (>=) :: Order -> Order -> Bool Source # max :: Order -> Order -> Order Source # min :: Order -> Order -> Order Source #
ParseDot Order Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse Order Source # parse :: Parse Order Source # parseUnqtList :: Parse [Order] Source # parseList :: Parse [Order] Source #
PrintDot Order Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: Order -> DotCode Source # toDot :: Order -> DotCode Source # unqtListToDot :: [Order] -> DotCode Source # listToDot :: [Order] -> DotCode Source #

data OutputMode Source #

Constructors

BreadthFirst |
NodesFirst |
EdgesFirst |

#### Instances

Instances details

Bounded OutputMode Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods minBound :: OutputMode Source # maxBound :: OutputMode Source #
Enum OutputMode Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

succ :: OutputMode -> OutputMode Source #

pred :: OutputMode -> OutputMode Source #

toEnum :: Int -> OutputMode Source #

fromEnum :: OutputMode -> Int Source #

enumFrom :: OutputMode -> [OutputMode] Source #

enumFromThen :: OutputMode -> OutputMode -> [OutputMode] Source #

enumFromTo :: OutputMode -> OutputMode -> [OutputMode] Source #

enumFromThenTo :: OutputMode -> OutputMode -> OutputMode -> [OutputMode] Source #

Read OutputMode Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS OutputMode Source # readList :: ReadS [OutputMode] Source # readPrec :: ReadPrec OutputMode Source # readListPrec :: ReadPrec [OutputMode] Source #
Show OutputMode Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> OutputMode -> ShowS Source # show :: OutputMode -> String Source # showList :: [OutputMode] -> ShowS Source #
Eq OutputMode Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: OutputMode -> OutputMode -> Bool Source # (/=) :: OutputMode -> OutputMode -> Bool Source #
Ord OutputMode Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

compare :: OutputMode -> OutputMode -> Ordering Source #

(<) :: OutputMode -> OutputMode -> Bool Source #

(<=) :: OutputMode -> OutputMode -> Bool Source #

(>) :: OutputMode -> OutputMode -> Bool Source #

(>=) :: OutputMode -> OutputMode -> Bool Source #

max :: OutputMode -> OutputMode -> OutputMode Source #

min :: OutputMode -> OutputMode -> OutputMode Source #

ParseDot OutputMode Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse OutputMode Source # parse :: Parse OutputMode Source # parseUnqtList :: Parse [OutputMode] Source # parseList :: Parse [OutputMode] Source #
PrintDot OutputMode Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: OutputMode -> DotCode Source # toDot :: OutputMode -> DotCode Source # unqtListToDot :: [OutputMode] -> DotCode Source # listToDot :: [OutputMode] -> DotCode Source #

data Pack Source #

Constructors

DoPack |
DontPack |
PackMargin Int | If non-negative, then packs; otherwise doesn't.

#### Instances

Instances details

Read Pack Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS Pack Source # readList :: ReadS [Pack] Source # readPrec :: ReadPrec Pack Source # readListPrec :: ReadPrec [Pack] Source #
Show Pack Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> Pack -> ShowS Source # show :: Pack -> String Source # showList :: [Pack] -> ShowS Source #
Eq Pack Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: Pack -> Pack -> Bool Source # (/=) :: Pack -> Pack -> Bool Source #
Ord Pack Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: Pack -> Pack -> Ordering Source # (<) :: Pack -> Pack -> Bool Source # (<=) :: Pack -> Pack -> Bool Source # (>) :: Pack -> Pack -> Bool Source # (>=) :: Pack -> Pack -> Bool Source # max :: Pack -> Pack -> Pack Source # min :: Pack -> Pack -> Pack Source #
ParseDot Pack Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse Pack Source # parse :: Parse Pack Source # parseUnqtList :: Parse [Pack] Source # parseList :: Parse [Pack] Source #
PrintDot Pack Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: Pack -> DotCode Source # toDot :: Pack -> DotCode Source # unqtListToDot :: [Pack] -> DotCode Source # listToDot :: [Pack] -> DotCode Source #

data PackMode Source #

Constructors

PackNode |
PackClust |
PackGraph |
PackArray Bool Bool (Maybe Int) | Sort by cols, sort by user, number of rows/cols

#### Instances

Instances details

Read PackMode Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS PackMode Source # readList :: ReadS [PackMode] Source # readPrec :: ReadPrec PackMode Source # readListPrec :: ReadPrec [PackMode] Source #
Show PackMode Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> PackMode -> ShowS Source # show :: PackMode -> String Source # showList :: [PackMode] -> ShowS Source #
Eq PackMode Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: PackMode -> PackMode -> Bool Source # (/=) :: PackMode -> PackMode -> Bool Source #
Ord PackMode Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: PackMode -> PackMode -> Ordering Source # (<) :: PackMode -> PackMode -> Bool Source # (<=) :: PackMode -> PackMode -> Bool Source # (>) :: PackMode -> PackMode -> Bool Source # (>=) :: PackMode -> PackMode -> Bool Source # max :: PackMode -> PackMode -> PackMode Source # min :: PackMode -> PackMode -> PackMode Source #
ParseDot PackMode Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse PackMode Source # parse :: Parse PackMode Source # parseUnqtList :: Parse [PackMode] Source # parseList :: Parse [PackMode] Source #
PrintDot PackMode Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: PackMode -> DotCode Source # toDot :: PackMode -> DotCode Source # unqtListToDot :: [PackMode] -> DotCode Source # listToDot :: [PackMode] -> DotCode Source #

data PageDir Source #

Upper-case first character is major order; lower-case second character is minor order.

Constructors

Bl |
Br |
Tl |
Tr |
Rb |
Rt |
Lb |
Lt |

#### Instances

Instances details

Bounded PageDir Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods minBound :: PageDir Source # maxBound :: PageDir Source #
Enum PageDir Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

succ :: PageDir -> PageDir Source #

pred :: PageDir -> PageDir Source #

toEnum :: Int -> PageDir Source #

fromEnum :: PageDir -> Int Source #

enumFrom :: PageDir -> [PageDir] Source #

enumFromThen :: PageDir -> PageDir -> [PageDir] Source #

enumFromTo :: PageDir -> PageDir -> [PageDir] Source #

enumFromThenTo :: PageDir -> PageDir -> PageDir -> [PageDir] Source #

Read PageDir Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS PageDir Source # readList :: ReadS [PageDir] Source # readPrec :: ReadPrec PageDir Source # readListPrec :: ReadPrec [PageDir] Source #
Show PageDir Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> PageDir -> ShowS Source # show :: PageDir -> String Source # showList :: [PageDir] -> ShowS Source #
Eq PageDir Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: PageDir -> PageDir -> Bool Source # (/=) :: PageDir -> PageDir -> Bool Source #
Ord PageDir Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: PageDir -> PageDir -> Ordering Source # (<) :: PageDir -> PageDir -> Bool Source # (<=) :: PageDir -> PageDir -> Bool Source # (>) :: PageDir -> PageDir -> Bool Source # (>=) :: PageDir -> PageDir -> Bool Source # max :: PageDir -> PageDir -> PageDir Source # min :: PageDir -> PageDir -> PageDir Source #
ParseDot PageDir Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse PageDir Source # parse :: Parse PageDir Source # parseUnqtList :: Parse [PageDir] Source # parseList :: Parse [PageDir] Source #
PrintDot PageDir Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: PageDir -> DotCode Source # toDot :: PageDir -> DotCode Source # unqtListToDot :: [PageDir] -> DotCode Source # listToDot :: [PageDir] -> DotCode Source #

data QuadType Source #

Constructors

NormalQT |
FastQT |
NoQT |

#### Instances

Instances details

Bounded QuadType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods minBound :: QuadType Source # maxBound :: QuadType Source #
Enum QuadType Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

succ :: QuadType -> QuadType Source #

pred :: QuadType -> QuadType Source #

toEnum :: Int -> QuadType Source #

fromEnum :: QuadType -> Int Source #

enumFrom :: QuadType -> [QuadType] Source #

enumFromThen :: QuadType -> QuadType -> [QuadType] Source #

enumFromTo :: QuadType -> QuadType -> [QuadType] Source #

enumFromThenTo :: QuadType -> QuadType -> QuadType -> [QuadType] Source #

Read QuadType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS QuadType Source # readList :: ReadS [QuadType] Source # readPrec :: ReadPrec QuadType Source # readListPrec :: ReadPrec [QuadType] Source #
Show QuadType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> QuadType -> ShowS Source # show :: QuadType -> String Source # showList :: [QuadType] -> ShowS Source #
Eq QuadType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: QuadType -> QuadType -> Bool Source # (/=) :: QuadType -> QuadType -> Bool Source #
Ord QuadType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: QuadType -> QuadType -> Ordering Source # (<) :: QuadType -> QuadType -> Bool Source # (<=) :: QuadType -> QuadType -> Bool Source # (>) :: QuadType -> QuadType -> Bool Source # (>=) :: QuadType -> QuadType -> Bool Source # max :: QuadType -> QuadType -> QuadType Source # min :: QuadType -> QuadType -> QuadType Source #
ParseDot QuadType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse QuadType Source # parse :: Parse QuadType Source # parseUnqtList :: Parse [QuadType] Source # parseList :: Parse [QuadType] Source #
PrintDot QuadType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: QuadType -> DotCode Source # toDot :: QuadType -> DotCode Source # unqtListToDot :: [QuadType] -> DotCode Source # listToDot :: [QuadType] -> DotCode Source #

data RankType Source #

Constructors

SameRank |
MinRank |
SourceRank |
MaxRank |
SinkRank |

#### Instances

Instances details

Bounded RankType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods minBound :: RankType Source # maxBound :: RankType Source #
Enum RankType Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

succ :: RankType -> RankType Source #

pred :: RankType -> RankType Source #

toEnum :: Int -> RankType Source #

fromEnum :: RankType -> Int Source #

enumFrom :: RankType -> [RankType] Source #

enumFromThen :: RankType -> RankType -> [RankType] Source #

enumFromTo :: RankType -> RankType -> [RankType] Source #

enumFromThenTo :: RankType -> RankType -> RankType -> [RankType] Source #

Read RankType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS RankType Source # readList :: ReadS [RankType] Source # readPrec :: ReadPrec RankType Source # readListPrec :: ReadPrec [RankType] Source #
Show RankType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> RankType -> ShowS Source # show :: RankType -> String Source # showList :: [RankType] -> ShowS Source #
Eq RankType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: RankType -> RankType -> Bool Source # (/=) :: RankType -> RankType -> Bool Source #
Ord RankType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: RankType -> RankType -> Ordering Source # (<) :: RankType -> RankType -> Bool Source # (<=) :: RankType -> RankType -> Bool Source # (>) :: RankType -> RankType -> Bool Source # (>=) :: RankType -> RankType -> Bool Source # max :: RankType -> RankType -> RankType Source # min :: RankType -> RankType -> RankType Source #
ParseDot RankType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse RankType Source # parse :: Parse RankType Source # parseUnqtList :: Parse [RankType] Source # parseList :: Parse [RankType] Source #
PrintDot RankType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: RankType -> DotCode Source # toDot :: RankType -> DotCode Source # unqtListToDot :: [RankType] -> DotCode Source # listToDot :: [RankType] -> DotCode Source #

data RankDir Source #

Constructors

FromTop |
FromLeft |
FromBottom |
FromRight |

#### Instances

Instances details

Bounded RankDir Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods minBound :: RankDir Source # maxBound :: RankDir Source #
Enum RankDir Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

succ :: RankDir -> RankDir Source #

pred :: RankDir -> RankDir Source #

toEnum :: Int -> RankDir Source #

fromEnum :: RankDir -> Int Source #

enumFrom :: RankDir -> [RankDir] Source #

enumFromThen :: RankDir -> RankDir -> [RankDir] Source #

enumFromTo :: RankDir -> RankDir -> [RankDir] Source #

enumFromThenTo :: RankDir -> RankDir -> RankDir -> [RankDir] Source #

Read RankDir Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS RankDir Source # readList :: ReadS [RankDir] Source # readPrec :: ReadPrec RankDir Source # readListPrec :: ReadPrec [RankDir] Source #
Show RankDir Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> RankDir -> ShowS Source # show :: RankDir -> String Source # showList :: [RankDir] -> ShowS Source #
Eq RankDir Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: RankDir -> RankDir -> Bool Source # (/=) :: RankDir -> RankDir -> Bool Source #
Ord RankDir Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: RankDir -> RankDir -> Ordering Source # (<) :: RankDir -> RankDir -> Bool Source # (<=) :: RankDir -> RankDir -> Bool Source # (>) :: RankDir -> RankDir -> Bool Source # (>=) :: RankDir -> RankDir -> Bool Source # max :: RankDir -> RankDir -> RankDir Source # min :: RankDir -> RankDir -> RankDir Source #
ParseDot RankDir Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse RankDir Source # parse :: Parse RankDir Source # parseUnqtList :: Parse [RankDir] Source # parseList :: Parse [RankDir] Source #
PrintDot RankDir Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: RankDir -> DotCode Source # toDot :: RankDir -> DotCode Source # unqtListToDot :: [RankDir] -> DotCode Source # listToDot :: [RankDir] -> DotCode Source #

data StartType Source #

Constructors

StartStyle STStyle |
StartSeed Int |
StartStyleSeed STStyle Int |

#### Instances

Instances details

Read StartType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS StartType Source # readList :: ReadS [StartType] Source # readPrec :: ReadPrec StartType Source # readListPrec :: ReadPrec [StartType] Source #
Show StartType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> StartType -> ShowS Source # show :: StartType -> String Source # showList :: [StartType] -> ShowS Source #
Eq StartType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: StartType -> StartType -> Bool Source # (/=) :: StartType -> StartType -> Bool Source #
Ord StartType Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

compare :: StartType -> StartType -> Ordering Source #

(<) :: StartType -> StartType -> Bool Source #

(<=) :: StartType -> StartType -> Bool Source #

(>) :: StartType -> StartType -> Bool Source #

(>=) :: StartType -> StartType -> Bool Source #

max :: StartType -> StartType -> StartType Source #

min :: StartType -> StartType -> StartType Source #

ParseDot StartType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse StartType Source # parse :: Parse StartType Source # parseUnqtList :: Parse [StartType] Source # parseList :: Parse [StartType] Source #
PrintDot StartType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: StartType -> DotCode Source # toDot :: StartType -> DotCode Source # unqtListToDot :: [StartType] -> DotCode Source # listToDot :: [StartType] -> DotCode Source #

data ViewPort Source #

Constructors

VP |

Fields

- wVal :: Double
- hVal :: Double
- zVal :: Double
- focus :: Maybe FocusType

#### Instances

Instances details

Read ViewPort Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS ViewPort Source # readList :: ReadS [ViewPort] Source # readPrec :: ReadPrec ViewPort Source # readListPrec :: ReadPrec [ViewPort] Source #
Show ViewPort Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> ViewPort -> ShowS Source # show :: ViewPort -> String Source # showList :: [ViewPort] -> ShowS Source #
Eq ViewPort Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: ViewPort -> ViewPort -> Bool Source # (/=) :: ViewPort -> ViewPort -> Bool Source #
Ord ViewPort Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: ViewPort -> ViewPort -> Ordering Source # (<) :: ViewPort -> ViewPort -> Bool Source # (<=) :: ViewPort -> ViewPort -> Bool Source # (>) :: ViewPort -> ViewPort -> Bool Source # (>=) :: ViewPort -> ViewPort -> Bool Source # max :: ViewPort -> ViewPort -> ViewPort Source # min :: ViewPort -> ViewPort -> ViewPort Source #
ParseDot ViewPort Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse ViewPort Source # parse :: Parse ViewPort Source # parseUnqtList :: Parse [ViewPort] Source # parseList :: Parse [ViewPort] Source #
PrintDot ViewPort Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: ViewPort -> DotCode Source # toDot :: ViewPort -> DotCode Source # unqtListToDot :: [ViewPort] -> DotCode Source # listToDot :: [ViewPort] -> DotCode Source #

data FocusType Source #

For use with `ViewPort`.

Constructors

XY Point |
NodeFocus Text |

#### Instances

Instances details

Read FocusType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS FocusType Source # readList :: ReadS [FocusType] Source # readPrec :: ReadPrec FocusType Source # readListPrec :: ReadPrec [FocusType] Source #
Show FocusType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> FocusType -> ShowS Source # show :: FocusType -> String Source # showList :: [FocusType] -> ShowS Source #
Eq FocusType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: FocusType -> FocusType -> Bool Source # (/=) :: FocusType -> FocusType -> Bool Source #
Ord FocusType Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

compare :: FocusType -> FocusType -> Ordering Source #

(<) :: FocusType -> FocusType -> Bool Source #

(<=) :: FocusType -> FocusType -> Bool Source #

(>) :: FocusType -> FocusType -> Bool Source #

(>=) :: FocusType -> FocusType -> Bool Source #

max :: FocusType -> FocusType -> FocusType Source #

min :: FocusType -> FocusType -> FocusType Source #

ParseDot FocusType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse FocusType Source # parse :: Parse FocusType Source # parseUnqtList :: Parse [FocusType] Source # parseList :: Parse [FocusType] Source #
PrintDot FocusType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: FocusType -> DotCode Source # toDot :: FocusType -> DotCode Source # unqtListToDot :: [FocusType] -> DotCode Source # listToDot :: [FocusType] -> DotCode Source #

data Ratios Source #

Constructors

AspectRatio Double |
FillRatio |
CompressRatio |
ExpandRatio |
AutoRatio |

#### Instances

Instances details

Read Ratios Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS Ratios Source # readList :: ReadS [Ratios] Source # readPrec :: ReadPrec Ratios Source # readListPrec :: ReadPrec [Ratios] Source #
Show Ratios Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> Ratios -> ShowS Source # show :: Ratios -> String Source # showList :: [Ratios] -> ShowS Source #
Eq Ratios Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: Ratios -> Ratios -> Bool Source # (/=) :: Ratios -> Ratios -> Bool Source #
Ord Ratios Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: Ratios -> Ratios -> Ordering Source # (<) :: Ratios -> Ratios -> Bool Source # (<=) :: Ratios -> Ratios -> Bool Source # (>) :: Ratios -> Ratios -> Bool Source # (>=) :: Ratios -> Ratios -> Bool Source # max :: Ratios -> Ratios -> Ratios Source # min :: Ratios -> Ratios -> Ratios Source #
ParseDot Ratios Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse Ratios Source # parse :: Parse Ratios Source # parseUnqtList :: Parse [Ratios] Source # parseList :: Parse [Ratios] Source #
PrintDot Ratios Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: Ratios -> DotCode Source # toDot :: Ratios -> DotCode Source # unqtListToDot :: [Ratios] -> DotCode Source # listToDot :: [Ratios] -> DotCode Source #

## Modes

data ModeType Source #

For `Neato` unless indicated otherwise.

Constructors

Major |
KK |
Hier |
IpSep |
SpringMode | For `Sfdp`, requires Graphviz >= 2.32.0.
MaxEnt | For `Sfdp`, requires Graphviz >= 2.32.0.

#### Instances

Instances details

Bounded ModeType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods minBound :: ModeType Source # maxBound :: ModeType Source #
Enum ModeType Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

succ :: ModeType -> ModeType Source #

pred :: ModeType -> ModeType Source #

toEnum :: Int -> ModeType Source #

fromEnum :: ModeType -> Int Source #

enumFrom :: ModeType -> [ModeType] Source #

enumFromThen :: ModeType -> ModeType -> [ModeType] Source #

enumFromTo :: ModeType -> ModeType -> [ModeType] Source #

enumFromThenTo :: ModeType -> ModeType -> ModeType -> [ModeType] Source #

Read ModeType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS ModeType Source # readList :: ReadS [ModeType] Source # readPrec :: ReadPrec ModeType Source # readListPrec :: ReadPrec [ModeType] Source #
Show ModeType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> ModeType -> ShowS Source # show :: ModeType -> String Source # showList :: [ModeType] -> ShowS Source #
Eq ModeType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: ModeType -> ModeType -> Bool Source # (/=) :: ModeType -> ModeType -> Bool Source #
Ord ModeType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: ModeType -> ModeType -> Ordering Source # (<) :: ModeType -> ModeType -> Bool Source # (<=) :: ModeType -> ModeType -> Bool Source # (>) :: ModeType -> ModeType -> Bool Source # (>=) :: ModeType -> ModeType -> Bool Source # max :: ModeType -> ModeType -> ModeType Source # min :: ModeType -> ModeType -> ModeType Source #
ParseDot ModeType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse ModeType Source # parse :: Parse ModeType Source # parseUnqtList :: Parse [ModeType] Source # parseList :: Parse [ModeType] Source #
PrintDot ModeType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: ModeType -> DotCode Source # toDot :: ModeType -> DotCode Source # unqtListToDot :: [ModeType] -> DotCode Source # listToDot :: [ModeType] -> DotCode Source #

data DEConstraints Source #

Only when `mode == `IpSep``.

Constructors

EdgeConstraints |
NoConstraints |
HierConstraints |

#### Instances

Instances details

Bounded DEConstraints Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods minBound :: DEConstraints Source # maxBound :: DEConstraints Source #
Enum DEConstraints Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

succ :: DEConstraints -> DEConstraints Source #

pred :: DEConstraints -> DEConstraints Source #

toEnum :: Int -> DEConstraints Source #

fromEnum :: DEConstraints -> Int Source #

enumFrom :: DEConstraints -> [DEConstraints] Source #

enumFromThen :: DEConstraints -> DEConstraints -> [DEConstraints] Source #

enumFromTo :: DEConstraints -> DEConstraints -> [DEConstraints] Source #

enumFromThenTo :: DEConstraints -> DEConstraints -> DEConstraints -> [DEConstraints] Source #

Read DEConstraints Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS DEConstraints Source # readList :: ReadS [DEConstraints] Source # readPrec :: ReadPrec DEConstraints Source # readListPrec :: ReadPrec [DEConstraints] Source #
Show DEConstraints Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> DEConstraints -> ShowS Source # show :: DEConstraints -> String Source # showList :: [DEConstraints] -> ShowS Source #
Eq DEConstraints Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: DEConstraints -> DEConstraints -> Bool Source # (/=) :: DEConstraints -> DEConstraints -> Bool Source #
Ord DEConstraints Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

compare :: DEConstraints -> DEConstraints -> Ordering Source #

(<) :: DEConstraints -> DEConstraints -> Bool Source #

(<=) :: DEConstraints -> DEConstraints -> Bool Source #

(>) :: DEConstraints -> DEConstraints -> Bool Source #

(>=) :: DEConstraints -> DEConstraints -> Bool Source #

max :: DEConstraints -> DEConstraints -> DEConstraints Source #

min :: DEConstraints -> DEConstraints -> DEConstraints Source #

ParseDot DEConstraints Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse DEConstraints Source # parse :: Parse DEConstraints Source # parseUnqtList :: Parse [DEConstraints] Source # parseList :: Parse [DEConstraints] Source #
PrintDot DEConstraints Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: DEConstraints -> DotCode Source # toDot :: DEConstraints -> DotCode Source # unqtListToDot :: [DEConstraints] -> DotCode Source # listToDot :: [DEConstraints] -> DotCode Source #

## Layers

newtype LayerSep Source #

Constructors

LSep Text |

#### Instances

Instances details

Read LayerSep Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS LayerSep Source # readList :: ReadS [LayerSep] Source # readPrec :: ReadPrec LayerSep Source # readListPrec :: ReadPrec [LayerSep] Source #
Show LayerSep Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> LayerSep -> ShowS Source # show :: LayerSep -> String Source # showList :: [LayerSep] -> ShowS Source #
Eq LayerSep Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: LayerSep -> LayerSep -> Bool Source # (/=) :: LayerSep -> LayerSep -> Bool Source #
Ord LayerSep Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: LayerSep -> LayerSep -> Ordering Source # (<) :: LayerSep -> LayerSep -> Bool Source # (<=) :: LayerSep -> LayerSep -> Bool Source # (>) :: LayerSep -> LayerSep -> Bool Source # (>=) :: LayerSep -> LayerSep -> Bool Source # max :: LayerSep -> LayerSep -> LayerSep Source # min :: LayerSep -> LayerSep -> LayerSep Source #
ParseDot LayerSep Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse LayerSep Source # parse :: Parse LayerSep Source # parseUnqtList :: Parse [LayerSep] Source # parseList :: Parse [LayerSep] Source #
PrintDot LayerSep Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: LayerSep -> DotCode Source # toDot :: LayerSep -> DotCode Source # unqtListToDot :: [LayerSep] -> DotCode Source # listToDot :: [LayerSep] -> DotCode Source #

newtype LayerListSep Source #

Constructors

LLSep Text |

#### Instances

Instances details

Read LayerListSep Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS LayerListSep Source # readList :: ReadS [LayerListSep] Source # readPrec :: ReadPrec LayerListSep Source # readListPrec :: ReadPrec [LayerListSep] Source #
Show LayerListSep Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> LayerListSep -> ShowS Source # show :: LayerListSep -> String Source # showList :: [LayerListSep] -> ShowS Source #
Eq LayerListSep Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: LayerListSep -> LayerListSep -> Bool Source # (/=) :: LayerListSep -> LayerListSep -> Bool Source #
Ord LayerListSep Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

compare :: LayerListSep -> LayerListSep -> Ordering Source #

(<) :: LayerListSep -> LayerListSep -> Bool Source #

(<=) :: LayerListSep -> LayerListSep -> Bool Source #

(>) :: LayerListSep -> LayerListSep -> Bool Source #

(>=) :: LayerListSep -> LayerListSep -> Bool Source #

max :: LayerListSep -> LayerListSep -> LayerListSep Source #

min :: LayerListSep -> LayerListSep -> LayerListSep Source #

ParseDot LayerListSep Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse LayerListSep Source # parse :: Parse LayerListSep Source # parseUnqtList :: Parse [LayerListSep] Source # parseList :: Parse [LayerListSep] Source #
PrintDot LayerListSep Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: LayerListSep -> DotCode Source # toDot :: LayerListSep -> DotCode Source # unqtListToDot :: [LayerListSep] -> DotCode Source # listToDot :: [LayerListSep] -> DotCode Source #

type LayerRange = [LayerRangeElem] Source #

data LayerRangeElem Source #

Constructors

LRID LayerID |
LRS LayerID LayerID |

#### Instances

Instances details

Read LayerRangeElem Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS LayerRangeElem Source # readList :: ReadS [LayerRangeElem] Source # readPrec :: ReadPrec LayerRangeElem Source # readListPrec :: ReadPrec [LayerRangeElem] Source #
Show LayerRangeElem Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> LayerRangeElem -> ShowS Source # show :: LayerRangeElem -> String Source # showList :: [LayerRangeElem] -> ShowS Source #
Eq LayerRangeElem Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: LayerRangeElem -> LayerRangeElem -> Bool Source # (/=) :: LayerRangeElem -> LayerRangeElem -> Bool Source #
Ord LayerRangeElem Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

compare :: LayerRangeElem -> LayerRangeElem -> Ordering Source #

(<) :: LayerRangeElem -> LayerRangeElem -> Bool Source #

(<=) :: LayerRangeElem -> LayerRangeElem -> Bool Source #

(>) :: LayerRangeElem -> LayerRangeElem -> Bool Source #

(>=) :: LayerRangeElem -> LayerRangeElem -> Bool Source #

max :: LayerRangeElem -> LayerRangeElem -> LayerRangeElem Source #

min :: LayerRangeElem -> LayerRangeElem -> LayerRangeElem Source #

ParseDot LayerRangeElem Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse LayerRangeElem Source # parse :: Parse LayerRangeElem Source # parseUnqtList :: Parse [LayerRangeElem] Source # parseList :: Parse [LayerRangeElem] Source #
PrintDot LayerRangeElem Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: LayerRangeElem -> DotCode Source # toDot :: LayerRangeElem -> DotCode Source # unqtListToDot :: [LayerRangeElem] -> DotCode Source # listToDot :: [LayerRangeElem] -> DotCode Source #

data LayerID Source #

You should not have any layer separator characters for the `LRName` option, as they won't be parseable.

Constructors

AllLayers |
LRInt Int |
LRName Text | Should not be a number or `"all"`.

#### Instances

Instances details

Read LayerID Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS LayerID Source # readList :: ReadS [LayerID] Source # readPrec :: ReadPrec LayerID Source # readListPrec :: ReadPrec [LayerID] Source #
Show LayerID Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> LayerID -> ShowS Source # show :: LayerID -> String Source # showList :: [LayerID] -> ShowS Source #
Eq LayerID Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: LayerID -> LayerID -> Bool Source # (/=) :: LayerID -> LayerID -> Bool Source #
Ord LayerID Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: LayerID -> LayerID -> Ordering Source # (<) :: LayerID -> LayerID -> Bool Source # (<=) :: LayerID -> LayerID -> Bool Source # (>) :: LayerID -> LayerID -> Bool Source # (>=) :: LayerID -> LayerID -> Bool Source # max :: LayerID -> LayerID -> LayerID Source # min :: LayerID -> LayerID -> LayerID Source #
ParseDot LayerID Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse LayerID Source # parse :: Parse LayerID Source # parseUnqtList :: Parse [LayerID] Source # parseList :: Parse [LayerID] Source #
PrintDot LayerID Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: LayerID -> DotCode Source # toDot :: LayerID -> DotCode Source # unqtListToDot :: [LayerID] -> DotCode Source # listToDot :: [LayerID] -> DotCode Source #

newtype LayerList Source #

A list of layer names. The names should all be unique `LRName` values, and when printed will use an arbitrary character from `defLayerSep`. The values in the list are implicitly numbered `1, 2, ...`.

Constructors

LL [LayerID] |

#### Instances

Instances details

Read LayerList Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS LayerList Source # readList :: ReadS [LayerList] Source # readPrec :: ReadPrec LayerList Source # readListPrec :: ReadPrec [LayerList] Source #
Show LayerList Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> LayerList -> ShowS Source # show :: LayerList -> String Source # showList :: [LayerList] -> ShowS Source #
Eq LayerList Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: LayerList -> LayerList -> Bool Source # (/=) :: LayerList -> LayerList -> Bool Source #
Ord LayerList Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

compare :: LayerList -> LayerList -> Ordering Source #

(<) :: LayerList -> LayerList -> Bool Source #

(<=) :: LayerList -> LayerList -> Bool Source #

(>) :: LayerList -> LayerList -> Bool Source #

(>=) :: LayerList -> LayerList -> Bool Source #

max :: LayerList -> LayerList -> LayerList Source #

min :: LayerList -> LayerList -> LayerList Source #

ParseDot LayerList Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse LayerList Source # parse :: Parse LayerList Source # parseUnqtList :: Parse [LayerList] Source # parseList :: Parse [LayerList] Source #
PrintDot LayerList Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: LayerList -> DotCode Source # toDot :: LayerList -> DotCode Source # unqtListToDot :: [LayerList] -> DotCode Source # listToDot :: [LayerList] -> DotCode Source #

## Stylistic

data SmoothType Source #

Constructors

NoSmooth |
AvgDist |
GraphDist |
PowerDist |
RNG |
Spring |
TriangleSmooth |

#### Instances

Instances details

Bounded SmoothType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods minBound :: SmoothType Source # maxBound :: SmoothType Source #
Enum SmoothType Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

succ :: SmoothType -> SmoothType Source #

pred :: SmoothType -> SmoothType Source #

toEnum :: Int -> SmoothType Source #

fromEnum :: SmoothType -> Int Source #

enumFrom :: SmoothType -> [SmoothType] Source #

enumFromThen :: SmoothType -> SmoothType -> [SmoothType] Source #

enumFromTo :: SmoothType -> SmoothType -> [SmoothType] Source #

enumFromThenTo :: SmoothType -> SmoothType -> SmoothType -> [SmoothType] Source #

Read SmoothType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS SmoothType Source # readList :: ReadS [SmoothType] Source # readPrec :: ReadPrec SmoothType Source # readListPrec :: ReadPrec [SmoothType] Source #
Show SmoothType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> SmoothType -> ShowS Source # show :: SmoothType -> String Source # showList :: [SmoothType] -> ShowS Source #
Eq SmoothType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: SmoothType -> SmoothType -> Bool Source # (/=) :: SmoothType -> SmoothType -> Bool Source #
Ord SmoothType Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

compare :: SmoothType -> SmoothType -> Ordering Source #

(<) :: SmoothType -> SmoothType -> Bool Source #

(<=) :: SmoothType -> SmoothType -> Bool Source #

(>) :: SmoothType -> SmoothType -> Bool Source #

(>=) :: SmoothType -> SmoothType -> Bool Source #

max :: SmoothType -> SmoothType -> SmoothType Source #

min :: SmoothType -> SmoothType -> SmoothType Source #

ParseDot SmoothType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse SmoothType Source # parse :: Parse SmoothType Source # parseUnqtList :: Parse [SmoothType] Source # parseList :: Parse [SmoothType] Source #
PrintDot SmoothType Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: SmoothType -> DotCode Source # toDot :: SmoothType -> DotCode Source # unqtListToDot :: [SmoothType] -> DotCode Source # listToDot :: [SmoothType] -> DotCode Source #

data STStyle Source #

Constructors

RegularStyle |
SelfStyle |
RandomStyle |

#### Instances

Instances details

Bounded STStyle Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods minBound :: STStyle Source # maxBound :: STStyle Source #
Enum STStyle Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

succ :: STStyle -> STStyle Source #

pred :: STStyle -> STStyle Source #

toEnum :: Int -> STStyle Source #

fromEnum :: STStyle -> Int Source #

enumFrom :: STStyle -> [STStyle] Source #

enumFromThen :: STStyle -> STStyle -> [STStyle] Source #

enumFromTo :: STStyle -> STStyle -> [STStyle] Source #

enumFromThenTo :: STStyle -> STStyle -> STStyle -> [STStyle] Source #

Read STStyle Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS STStyle Source # readList :: ReadS [STStyle] Source # readPrec :: ReadPrec STStyle Source # readListPrec :: ReadPrec [STStyle] Source #
Show STStyle Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> STStyle -> ShowS Source # show :: STStyle -> String Source # showList :: [STStyle] -> ShowS Source #
Eq STStyle Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: STStyle -> STStyle -> Bool Source # (/=) :: STStyle -> STStyle -> Bool Source #
Ord STStyle Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods compare :: STStyle -> STStyle -> Ordering Source # (<) :: STStyle -> STStyle -> Bool Source # (<=) :: STStyle -> STStyle -> Bool Source # (>) :: STStyle -> STStyle -> Bool Source # (>=) :: STStyle -> STStyle -> Bool Source # max :: STStyle -> STStyle -> STStyle Source # min :: STStyle -> STStyle -> STStyle Source #
ParseDot STStyle Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse STStyle Source # parse :: Parse STStyle Source # parseUnqtList :: Parse [STStyle] Source # parseList :: Parse [STStyle] Source #
PrintDot STStyle Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: STStyle -> DotCode Source # toDot :: STStyle -> DotCode Source # unqtListToDot :: [STStyle] -> DotCode Source # listToDot :: [STStyle] -> DotCode Source #

data StyleItem Source #

An individual style item. Except for `DD`, the `[`String`]` should be empty.

Constructors

SItem StyleName [Text] |

#### Instances

Instances details

Read StyleItem Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS StyleItem Source # readList :: ReadS [StyleItem] Source # readPrec :: ReadPrec StyleItem Source # readListPrec :: ReadPrec [StyleItem] Source #
Show StyleItem Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> StyleItem -> ShowS Source # show :: StyleItem -> String Source # showList :: [StyleItem] -> ShowS Source #
Eq StyleItem Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: StyleItem -> StyleItem -> Bool Source # (/=) :: StyleItem -> StyleItem -> Bool Source #
Ord StyleItem Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

compare :: StyleItem -> StyleItem -> Ordering Source #

(<) :: StyleItem -> StyleItem -> Bool Source #

(<=) :: StyleItem -> StyleItem -> Bool Source #

(>) :: StyleItem -> StyleItem -> Bool Source #

(>=) :: StyleItem -> StyleItem -> Bool Source #

max :: StyleItem -> StyleItem -> StyleItem Source #

min :: StyleItem -> StyleItem -> StyleItem Source #

ParseDot StyleItem Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse StyleItem Source # parse :: Parse StyleItem Source # parseUnqtList :: Parse [StyleItem] Source # parseList :: Parse [StyleItem] Source #
PrintDot StyleItem Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: StyleItem -> DotCode Source # toDot :: StyleItem -> DotCode Source # unqtListToDot :: [StyleItem] -> DotCode Source # listToDot :: [StyleItem] -> DotCode Source #

data StyleName Source #

Constructors

Dashed | Nodes and Edges
Dotted | Nodes and Edges
Solid | Nodes and Edges
Bold | Nodes and Edges
Invisible | Nodes and Edges
Filled | Nodes and Clusters
Striped | Rectangularly-shaped Nodes and Clusters; requires Graphviz >= 2.30.0
Wedged | Elliptically-shaped Nodes only; requires Graphviz >= 2.30.0
Diagonals | Nodes only
Rounded | Nodes and Clusters
Tapered | Edges only; requires Graphviz >= 2.29.0
Radial | Nodes, Clusters and Graphs, for use with `GradientAngle`; requires Graphviz >= 2.29.0
DD Text | Device Dependent

#### Instances

Instances details

Read StyleName Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods readsPrec :: Int -> ReadS StyleName Source # readList :: ReadS [StyleName] Source # readPrec :: ReadPrec StyleName Source # readListPrec :: ReadPrec [StyleName] Source #
Show StyleName Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods showsPrec :: Int -> StyleName -> ShowS Source # show :: StyleName -> String Source # showList :: [StyleName] -> ShowS Source #
Eq StyleName Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods (==) :: StyleName -> StyleName -> Bool Source # (/=) :: StyleName -> StyleName -> Bool Source #
Ord StyleName Source # |

Instance details

Defined in Data.GraphViz.Attributes.Values

Methods

compare :: StyleName -> StyleName -> Ordering Source #

(<) :: StyleName -> StyleName -> Bool Source #

(<=) :: StyleName -> StyleName -> Bool Source #

(>) :: StyleName -> StyleName -> Bool Source #

(>=) :: StyleName -> StyleName -> Bool Source #

max :: StyleName -> StyleName -> StyleName Source #

min :: StyleName -> StyleName -> StyleName Source #

ParseDot StyleName Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods parseUnqt :: Parse StyleName Source # parse :: Parse StyleName Source # parseUnqtList :: Parse [StyleName] Source # parseList :: Parse [StyleName] Source #
PrintDot StyleName Source # |
Instance details Defined in Data.GraphViz.Attributes.Values Methods unqtDot :: StyleName -> DotCode Source # toDot :: StyleName -> DotCode Source # unqtListToDot :: [StyleName] -> DotCode Source # listToDot :: [StyleName] -> DotCode Source #