<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> <link rel="Start" href="index.html"> <link rel="next" href="Graphviz.DotAttributes.html"> <link rel="Up" href="Graphviz.html"> <link title="Index of types" rel=Appendix href="index_types.html"> <link title="Index of exceptions" rel=Appendix href="index_exceptions.html"> <link title="Index of values" rel=Appendix href="index_values.html"> <link title="Index of modules" rel=Appendix href="index_modules.html"> <link title="Index of module types" rel=Appendix href="index_module_types.html"> <link title="Sig" rel="Chapter" href="Sig.html"> <link title="Sig_pack" rel="Chapter" href="Sig_pack.html"> <link title="Dot_ast" rel="Chapter" href="Dot_ast.html"> <link title="Util" rel="Chapter" href="Util.html"> <link title="Persistent" rel="Chapter" href="Persistent.html"> <link title="Imperative" rel="Chapter" href="Imperative.html"> <link title="Delaunay" rel="Chapter" href="Delaunay.html"> <link title="Builder" rel="Chapter" href="Builder.html"> <link title="Classic" rel="Chapter" href="Classic.html"> <link title="Rand" rel="Chapter" href="Rand.html"> <link title="Oper" rel="Chapter" href="Oper.html"> <link title="Path" rel="Chapter" href="Path.html"> <link title="Traverse" rel="Chapter" href="Traverse.html"> <link title="Coloring" rel="Chapter" href="Coloring.html"> <link title="Topological" rel="Chapter" href="Topological.html"> <link title="Components" rel="Chapter" href="Components.html"> <link title="Kruskal" rel="Chapter" href="Kruskal.html"> <link title="Flow" rel="Chapter" href="Flow.html"> <link title="Graphviz" rel="Chapter" href="Graphviz.html"> <link title="Gml" rel="Chapter" href="Gml.html"> <link title="Dot" rel="Chapter" href="Dot.html"> <link title="Pack" rel="Chapter" href="Pack.html"> <link title="Gmap" rel="Chapter" href="Gmap.html"> <link title="Minsep" rel="Chapter" href="Minsep.html"> <link title="Cliquetree" rel="Chapter" href="Cliquetree.html"> <link title="Mcs_m" rel="Chapter" href="Mcs_m.html"> <link title="Md" rel="Chapter" href="Md.html"> <link title="Strat" rel="Chapter" href="Strat.html"><title>Graphviz.CommonAttributes</title> </head> <body> <div class="navbar"> <a href="Graphviz.html">Up</a> <a href="Graphviz.DotAttributes.html">Next</a> </div> <center><h1>Module <a href="type_Graphviz.CommonAttributes.html">Graphviz.CommonAttributes</a></h1></center> <br> <pre><span class="keyword">module</span> CommonAttributes: <code class="code">sig</code> <a href="Graphviz.CommonAttributes.html">..</a> <code class="code">end</code></pre>The <code class="code">CommonAttributes</code> module defines attributes for graphs, vertices and edges that are available in the two engines, dot and neato.<br> <hr width="100%"> <pre><span class="keyword">type</span> <a name="TYPEgraph"></a><code class="type"></code>graph = <code class="type">[ `Center of bool<br> | `Fontcolor of <a href="Graphviz.html#TYPEcolor">Graphviz.color</a><br> | `Fontname of string<br> | `Fontsize of int<br> | `Label of string<br> | `OrderingOut<br> | `Orientation of [ `Landscape | `Portrait ]<br> | `Page of float * float<br> | `Pagedir of [ `LeftToRight | `TopToBottom ]<br> | `Size of float * float ]</code> </pre> <div class="info"> Attributes of graphs.<br> </div> <pre><span class="keyword">type</span> <a name="TYPEvertex"></a><code class="type"></code>vertex = <code class="type">[ `Color of <a href="Graphviz.html#TYPEcolor">Graphviz.color</a><br> | `Fontcolor of <a href="Graphviz.html#TYPEcolor">Graphviz.color</a><br> | `Fontname of string<br> | `Fontsize of int<br> | `Height of float<br> | `Label of string<br> | `Orientation of float<br> | `Peripheries of int<br> | `Regular of bool<br> | `Shape of<br> [ `Box<br> | `Circle<br> | `Diamond<br> | `Doublecircle<br> | `Ellipse<br> | `Plaintext<br> | `Polygon of int * float<br> | `Record ]<br> | `Style of [ `Bold | `Dashed | `Dotted | `Filled | `Invis | `Solid ]<br> | `Width of float ]</code> </pre> <div class="info"> Attributes of vertices.<br> </div> <pre><span class="keyword">type</span> <a name="TYPEedge"></a><code class="type"></code>edge = <code class="type">[ `Color of <a href="Graphviz.html#TYPEcolor">Graphviz.color</a><br> | `Decorate of bool<br> | `Dir of [ `Back | `Both | `Forward | `None ]<br> | `Fontcolor of <a href="Graphviz.html#TYPEcolor">Graphviz.color</a><br> | `Fontname of string<br> | `Fontsize of int<br> | `Label of string<br> | `Labelfontcolor of <a href="Graphviz.html#TYPEcolor">Graphviz.color</a><br> | `Labelfontname of string<br> | `Labelfontsize of int<br> | `Style of [ `Bold | `Dashed | `Dotted | `Invis | `Solid ] ]</code> </pre> <div class="info"> Attributes of edges.<br> </div> </body></html>