Graphviz.CommonAttributesThe CommonAttributes module defines attributes for graphs, vertices and edges that are available in the two engines, dot and neato.
type graph = [ | `Center of boolCenters the drawing on the page. Default value is false.
| `Fontcolor of colorSets the font color. Default value is black.
| `Fontname of stringSets the font family name. Default value is "Times-Roman".
| `Fontsize of intSets the type size (in points). Default value is 14.
| `Label of stringCaption for graph drawing.
*)| `HtmlLabel of stringCaption for graph drawing. In HTML strings, angle brackets must occur in matched pairs, and newlines and other formatting whitespace characters are allowed. In addition, the content must be legal XML, so that the special XML escape sequences for ", &, <, and > may be necessary in order to embed these characters in attribute values or raw text."
*)| `Orientation of [ `Portrait | `Landscape ]Sets the page orientation. Default value is `Portrait.
| `Page of float * floatSets the PostScript pagination unit, e.g 8.5, 11.0.
| `Pagedir of [ `TopToBottom | `LeftToRight ]Traversal order of pages. Default value is `TopToBottom.
| `Size of float * floatSets the bounding box of drawing (in inches).
*)| `OrderingOutConstrains order of out-edges in a subgraph according to their file sequence
*) ]Attributes of graphs.
type vertex = [ | `Color of colorSets the color of the border of the vertex. Default value is black
| `ColorWithTransparency of color_with_transparencySets the color of the border of the vertex with a transparency component. Default value is fully opaque black
| `Fontcolor of colorSets the label font color. Default value is black.
| `Fontname of stringSets the label font family name. Default value is "Times-Roman".
| `Fontsize of intSets the label type size (in points). Default value is 14.
| `Height of floatSets the minimum height. Default value is 0.5.
| `Label of stringSets the label printed in the vertex. The string may include escaped newlines \n, \l, or \r for center, left, and right justified lines. Record labels may contain recursive box lists delimited by | .
| `HtmlLabel of stringLike label, in html style. In HTML strings, angle brackets must occur in matched pairs, and newlines and other formatting whitespace characters are allowed. In addition, the content must be legal XML, so that the special XML escape sequences for ", &, <, and > may be necessary in order to embed these characters in attribute values or raw text."
*)| `Orientation of floatVertex rotation angle, in degrees. Default value is 0.0.
| `Penwidth of floatWidth of the pen (in points) used to draw the border of the node. Default value is 1.0.
| `Peripheries of intSets the number of periphery lines drawn around the polygon.
*)| `Regular of boolIf true, then the polygon is made regular, i.e. symmetric about the x and y axis, otherwise the polygon takes on the aspect ratio of the label. Default value is false.
| `Shape of
[ `Ellipse
| `Box
| `Circle
| `Doublecircle
| `Diamond
| `Plaintext
| `Record
| `Oval
| `Egg
| `Triangle
| `Invtriangle
| `Trapezium
| `Invtrapezium
| `House
| `Invhouse
| `Parallelogram
| `Doubleoctagon
| `Tripleoctagon
| `Mdiamond
| `Mcircle
| `Msquare
| `Star
| `Underline
| `Note
| `Tab
| `Folder
| `Box3d
| `Component
| `Promoter
| `Cds
| `Terminator
| `Utr
| `Primersite
| `Restrictionsite
| `Fivepoverhang
| `Threepoverhang
| `Noverhang
| `Assembly
| `Signature
| `Insulator
| `Ribosite
| `Rnastab
| `Proteasesite
| `Proteinstab
| `Rpromoter
| `Rarrow
| `Larrow
| `Lpromoter
| `Polygon of int * float ]Sets the shape of the vertex. Default value is `Ellipse. `Polygon (i, f) draws a polygon with n sides and a skewing of f.
| `Style of [ `Rounded | `Filled | `Solid | `Dashed | `Dotted | `Bold | `Invis ]Sets the layout style of the vertex. Several styles may be combined simultaneously.
*)| `Width of floatSets the minimum width. Default value is 0.75.
]Attributes of vertices.
type edge = [ | `Color of colorSets the edge stroke color. Default value is black.
| `ColorWithTransparency of color_with_transparencySets the edge stroke color with a transparency component. Default value is fully opaque black
| `Decorate of boolIf true, draws a line connecting labels with their edges.
| `Dir of [ `Forward | `Back | `Both | `None ]Sets arrow direction. Default value is `Forward.
| `Fontcolor of colorSets the label font color. Default value is black.
| `Fontname of stringSets the label font family name. Default value is "Times-Roman".
| `Fontsize of intSets the label type size (in points). Default value is 14.
| `Label of stringSets the label to be attached to the edge. The string may include escaped newlines \n, \l, or \r for centered, left, or right justified lines.
| `HtmlLabel of stringLike label, in html style. In HTML strings, angle brackets must occur in matched pairs, and newlines and other formatting whitespace characters are allowed. In addition, the content must be legal XML, so that the special XML escape sequences for ", &, <, and > may be necessary in order to embed these characters in attribute values or raw text."
*)| `Labelfontcolor of colorSets the font color for head and tail labels. Default value is black.
| `Labelfontname of stringSets the font family name for head and tail labels. Default value is "Times-Roman".
| `Labelfontsize of intSets the font size for head and tail labels (in points). Default value is 14.
| `Penwidth of floatWidth of the pen (in points) used to draw the edge. Default value is 1.0.
| `Style of [ `Solid | `Dashed | `Dotted | `Bold | `Invis ]Sets the layout style of the edge. Several styles may be combined simultaneously.
*) ]Attributes of edges.