# Module Graphviz.DotAttributes

    module DotAttributes: sig .. end

`DotAttributes` extends `CommonAttributes` and implements `ATTRIBUTES`.

    type graph = [ `Bgcolor of Graphviz.color
           | `BgcolorWithTransparency of Graphviz.color_with_transparency
           | `Center of bool
           | `Comment of string
           | `Concentrate of bool
           | `Fontcolor of Graphviz.color
           | `Fontname of string
           | `Fontpath of string
           | `Fontsize of int
           | `Label of string
           | `Layers of string list
           | `Margin of float
           | `Mclimit of float
           | `Nodesep of float
           | `Nslimit of int
           | `Nslimit1 of int
           | `OrderingOut
           | `Orientation of [ `Landscape | `Portrait ]
           | `Page of float * float
           | `Pagedir of [ `LeftToRight | `TopToBottom ]
           | `Quantum of float
           | `Rankdir of [ `LeftToRight | `TopToBottom ]
           | `Ranksep of float
           | `Ratio of [ `Auto | `Compress | `Fill | `Float of float ]
           | `Samplepoints of int
           | `Size of float * float
           | `Url of string ]

Attributes of graphs. They include all common graph attributes and several specific ones. All attributes described in the "dot User's Manual, February 4, 2002" are handled, excepted: clusterank, color, compound, labeljust, labelloc, ordering, rank, remincross, rotate, searchsize and style.

    type vertex = [ `Color of Graphviz.color
           | `ColorWithTransparency of Graphviz.color_with_transparency
           | `Comment of string
           | `Distortion of float
           | `Fillcolor of Graphviz.color
           | `FillcolorWithTransparency of Graphviz.color_with_transparency
           | `Fixedsize of bool
           | `Fontcolor of Graphviz.color
           | `Fontname of string
           | `Fontsize of int
           | `Height of float
           | `Label of string
           | `Layer of string
           | `Orientation of float
           | `Peripheries of int
           | `Regular of bool
           | `Shape of
               [ `Box
               | `Circle
               | `Diamond
               | `Doublecircle
               | `Ellipse
               | `Plaintext
               | `Polygon of int * float
               | `Record ]
           | `Style of [ `Bold | `Dashed | `Dotted | `Filled | `Invis | `Solid ]
           | `Url of string
           | `Width of float
           | `Z of float ]

Attributes of nodes. They include all common node attributes and several specific ones. All attributes described in the "dot User's Manual, February 4, 2002" are handled, excepted: bottomlabel, group, shapefile and toplabel.

    type edge = [ `Arrowhead of Graphviz.arrow_style
           | `Arrowsize of float
           | `Arrowtail of Graphviz.arrow_style
           | `Color of Graphviz.color
           | `ColorWithTransparency of Graphviz.color_with_transparency
           | `Comment of string
           | `Constraint of bool
           | `Decorate of bool
           | `Dir of [ `Back | `Both | `Forward | `None ]
           | `Fontcolor of Graphviz.color
           | `Fontname of string
           | `Fontsize of int
           | `Headlabel of string
           | `Headport of [ `E | `N | `NE | `NW | `S | `SE | `SW | `W ]
           | `Headurl of string
           | `Label of string
           | `Labelangle of float
           | `Labeldistance of float
           | `Labelfloat of bool
           | `Labelfontcolor of Graphviz.color
           | `Labelfontname of string
           | `Labelfontsize of int
           | `Layer of string
           | `Minlen of int
           | `Samehead of string
           | `Sametail of string
           | `Style of [ `Bold | `Dashed | `Dotted | `Invis | `Solid ]
           | `Taillabel of string
           | `Tailport of [ `E | `N | `NE | `NW | `S | `SE | `SW | `W ]
           | `Tailurl of string
           | `Weight of int ]

Attributes of edges. They include all common edge attributes and several specific ones. All attributes described in the "dot User's Manual, February 4, 2002" are handled, excepted: lhead and ltail.
`type ``subgraph = {`

`` | `sg_name : `string`;`
`` | `sg_attributes : `vertex list`;`

}
Subgraphs have a name and some vertices.