Graphviz.DotAttributes
DotAttributes
extends CommonAttributes
and implements ATTRIBUTES
.
type graph = [
| CommonAttributes.graph | |
| `Bgcolor of color | (* Sets the background color and the inital fill color. *) |
| `BgcolorWithTransparency of color_with_transparency | (* Sets the background color and the inital fill color with a transparency component. *) |
| `Comment of string | (* Comment string. *) |
| `Concentrate of bool | (* If |
| `Fontpath of string | (* List of directories for fonts. *) |
| `Layers of string list | (* List of layers. *) |
| `Margin of float | (* Sets the page margin (included in the page size). Default value is |
| `Mclimit of float | (* Scale factor for mincross iterations. Default value is |
| `Nodesep of float | (* Sets the minimum separation between nodes, in inches. Default value is |
| `Nslimit of int | (* If set of |
| `Nslimit1 of int | (* If set of |
| `Ranksep of float | (* Sets the minimum separation between ranks. *) |
| `Quantum of float | (* If not |
| `Rankdir of [ `TopToBottom | `BottomToTop | `LeftToRight | `RightToLeft ] | (* Direction of rank ordering. Default value is |
| `Ratio of [ `Float of float | `Fill | `Compress | `Auto ] | (* Sets the aspect ratio. *) |
| `Samplepoints of int | (* Number of points used to represent ellipses and circles on output. Default value is |
| `Url of string | (* URL 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 string | (* Comment string. *) |
| `Distortion of float | |
| `Fillcolor of color | (* Sets the fill color (used when `Style filled). Default value is |
| `FillcolorWithTransparency of color_with_transparency | (* Sets the fill color (used when `Style filled) with a transparency component. Default value is fully opaque |
| `Fixedsize of bool | (* If |
| `Layer of string | (* Overlay. *) |
| `Url of string | (* The 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 float | (* z 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_style | (* Sets the style of the head arrow. Default value is |
| `Arrowsize of float | (* Sets the scaling factor of arrowheads. Default value is |
| `Arrowtail of arrow_style | (* Sets the style of the tail arrow. Default value is |
| `Comment of string | (* Comment string. *) |
| `Constraint of bool | (* If |
| `Headlabel of string | (* Sets the label attached to the head arrow. *) |
| `Headport of [ `N | `NE | `E | `SE | `S | `SW | `W | `NW ] | |
| `Headurl of string | (* Url attached to head label if output format is ismap. *) |
| `Labelangle of float | (* Angle in degrees which head or tail label is rotated off edge. Default value is |
| `Labeldistance of float | (* Scaling factor for distance of head or tail label from node. Default value is |
| `Labelfloat of bool | (* If |
| `Layer of string | (* Overlay. *) |
| `Minlen of int | (* Minimum rank distance between head an tail. Default value is |
| `Samehead of string | (* Tag for head node; edge heads with the same tag are merged onto the same port. *) |
| `Sametail of string | (* Tag for tail node; edge tails with the same tag are merged onto the same port. *) |
| `Taillabel of string | (* Sets the label attached to the tail arrow. *) |
| `Tailport of [ `N | `NE | `E | `SE | `S | `SW | `W | `NW ] | |
| `Tailurl of string | (* Url attached to tail label if output format is ismap. *) |
| `Weight of int | (* Sets the integer cost of stretching the edge. Default value is |
]
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.
Subgraphs have a name and some vertices.