Module Graph__Graphviz.DotAttributes
DotAttributes extends CommonAttributes and implements ATTRIBUTES.
type graph=[|CommonAttributes.graph|`Bgcolor of colorSets the background color and the inital fill color.
|`BgcolorWithTransparency of color_with_transparencySets the background color and the inital fill color with a transparency component.
|`Comment of stringComment string.
|`Concentrate of boolIf
true, enables edge concentrators. Default value isfalse.|`Fontpath of stringList of directories for fonts.
|`Layers of string listList of layers.
|`Margin of floatSets the page margin (included in the page size). Default value is
0.5.|`Mclimit of floatScale factor for mincross iterations. Default value is
1.0.|`Nodesep of floatSets the minimum separation between nodes, in inches. Default value is
0.25.|`Nslimit of intIf set of
f, bounds network simplex iterations byf * <number of nodes>when ranking nodes.|`Nslimit1 of intIf set of
f, bounds network simplex iterations byf * <number of nodes>when setting x-coordinates.|`Ranksep of floatSets the minimum separation between ranks.
|`Quantum of floatIf not
0.0, node label dimensions will be rounded to integral multiples of it. Default value is0.0.|`Rankdir of [ `TopToBottom | `BottomToTop | `LeftToRight | `RightToLeft ]Direction of rank ordering. Default value is
`TopToBottom.|`Ratio of [ `Float of float | `Fill | `Compress | `Auto ]Sets the aspect ratio.
|`Samplepoints of intNumber of points used to represent ellipses and circles on output. Default value is
8.|`Url of stringURL associated with graph (format-dependent).
]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=[|CommonAttributes.vertex|`Comment of stringComment string.
|`Distortion of float|`Fillcolor of colorSets the fill color (used when `Style filled). Default value is
lightgrey.|`FillcolorWithTransparency of color_with_transparencySets the fill color (used when `Style filled) with a transparency component. Default value is fully opaque
lightgrey.|`Fixedsize of boolIf
true, forces the given dimensions to be the actual ones. Default value isfalse.|`Layer of stringOverlay.
|`Url of stringThe default url for image map files; in PostScript files, the base URL for all relative URLs, as recognized by Acrobat Distiller 3.0 and up.
|`Z of floatz coordinate for VRML output.
]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=[|CommonAttributes.edge|`Arrowhead of arrow_styleSets the style of the head arrow. Default value is
`Normal.|`Arrowsize of floatSets the scaling factor of arrowheads. Default value is
1.0.|`Arrowtail of arrow_styleSets the style of the tail arrow. Default value is
`Normal.|`Comment of stringComment string.
|`Constraint of boolIf
false, causes an edge to be ignored for rank assignment. Default value istrue.|`Headlabel of stringSets the label attached to the head arrow.
|`Headport of [ `N | `NE | `E | `SE | `S | `SW | `W | `NW ]|`Headurl of stringUrl attached to head label if output format is ismap.
|`Labelangle of floatAngle in degrees which head or tail label is rotated off edge. Default value is
-25.0.|`Labeldistance of floatScaling factor for distance of head or tail label from node. Default value is
1.0.|`Labelfloat of boolIf
true, lessen constraints on edge label placement. Default value isfalse.|`Layer of stringOverlay.
|`Minlen of intMinimum rank distance between head an tail. Default value is
1.|`Samehead of stringTag for head node; edge heads with the same tag are merged onto the same port.
|`Sametail of stringTag for tail node; edge tails with the same tag are merged onto the same port.
|`Taillabel of stringSets the label attached to the tail arrow.
|`Tailport of [ `N | `NE | `E | `SE | `S | `SW | `W | `NW ]|`Tailurl of stringUrl attached to tail label if output format is ismap.
|`Weight of intSets the integer cost of stretching the edge. Default value is
1.]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;sg_parent : string option;}Subgraphs have a name and some vertices.