Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 1280a9d763ea6574bb6098d1ca3767c9 > files > 71

ocaml-ocamlgraph-doc-1.1-1mdv2010.0.i586.rpm

<!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="previous" href="Graphviz.DotAttributes.html">
<link rel="next" href="Graphviz.NeatoAttributes.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.Dot</title>
</head>
<body>
<div class="navbar"><a href="Graphviz.DotAttributes.html">Previous</a>
&nbsp;<a href="Graphviz.html">Up</a>
&nbsp;<a href="Graphviz.NeatoAttributes.html">Next</a>
</div>
<center><h1>Functor <a href="type_Graphviz.Dot.html">Graphviz.Dot</a></h1></center>
<br>
<pre><span class="keyword">module</span> Dot: <div class="sig_block"><code class="code">functor (</code><code class="code">X</code><code class="code"> : </code><code class="code">sig</code><div class="sig_block"><br>
Graph implementation. Sub-signature of <code class="code">Sig.G</code><br>
<pre><span class="keyword">type</span> <a name="TYPEt"></a><code class="type"></code>t </pre>

<pre><span class="keyword">module</span> <a href="Graphviz.Dot.V.html">V</a>: <code class="code">sig</code> <a href="Graphviz.Dot.V.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">module</span> <a href="Graphviz.Dot.E.html">E</a>: <code class="code">sig</code> <a href="Graphviz.Dot.E.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">val</span> <a name="VALiter_vertex"></a>iter_vertex : <code class="type">(V.t -> unit) -> t -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALiter_edges_e"></a>iter_edges_e : <code class="type">(E.t -> unit) -> t -> unit</code></pre><br>
Graph, vertex and edge attributes.<br>
<pre><span class="keyword">val</span> <a name="VALgraph_attributes"></a>graph_attributes : <code class="type">t -> <a href="Graphviz.DotAttributes.html#TYPEgraph">Graphviz.DotAttributes.graph</a> list</code></pre><pre><span class="keyword">val</span> <a name="VALdefault_vertex_attributes"></a>default_vertex_attributes : <code class="type">t -> <a href="Graphviz.DotAttributes.html#TYPEvertex">Graphviz.DotAttributes.vertex</a> list</code></pre><pre><span class="keyword">val</span> <a name="VALvertex_name"></a>vertex_name : <code class="type">V.t -> string</code></pre><pre><span class="keyword">val</span> <a name="VALvertex_attributes"></a>vertex_attributes : <code class="type">V.t -> <a href="Graphviz.DotAttributes.html#TYPEvertex">Graphviz.DotAttributes.vertex</a> list</code></pre><pre><span class="keyword">val</span> <a name="VALget_subgraph"></a>get_subgraph : <code class="type">V.t -> <a href="Graphviz.DotAttributes.html#TYPEsubgraph">Graphviz.DotAttributes.subgraph</a> option</code></pre><div class="info">
The box (if exists) which the vertex belongs to. Boxes with same
	   names are not distinguished and so they should have the same
	   attributes.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALdefault_edge_attributes"></a>default_edge_attributes : <code class="type">t -> <a href="Graphviz.DotAttributes.html#TYPEedge">Graphviz.DotAttributes.edge</a> list</code></pre><pre><span class="keyword">val</span> <a name="VALedge_attributes"></a>edge_attributes : <code class="type">E.t -> <a href="Graphviz.DotAttributes.html#TYPEedge">Graphviz.DotAttributes.edge</a> list</code></pre></div><code class="code">end</code><code class="code">) -&gt; </code><code class="code">sig</code> <a href="Graphviz.Dot.html">..</a> <code class="code">end</code></div></pre><table border="0" cellpadding="3" width="100%">
<tr>
<td align="left" valign="top" width="1%%"><b>Parameters: </b></td>
<td>
<table class="paramstable">
<tr>
<td align="center" valign="top" width="15%">
<code>X</code></td>
<td align="center" valign="top">:</td>
<td><code class="type">sig

     (** Graph implementation. Sub-signature of {!<a href="Sig.G.html">Sig.G</a>} *)

     type t
     module V : sig type t end
     module E : sig type t val src : t -> V.t val dst : t -> V.t end
     val iter_vertex : (V.t -> unit) -> t -> unit
     val iter_edges_e : (E.t -> unit) -> t -> unit
       
     (** Graph, vertex and edge attributes. *)

     val graph_attributes: t -> DotAttributes.graph list
       
     val default_vertex_attributes: t -> DotAttributes.vertex list
     val vertex_name : V.t -> string
     val vertex_attributes: V.t -> DotAttributes.vertex list

     val get_subgraph : V.t -> DotAttributes.subgraph option
       (** The box (if exists) which the vertex belongs to. Boxes with same
	   names are not distinguished and so they should have the same
	   attributes. *)
       
     val default_edge_attributes: t -> DotAttributes.edge list
     val edge_attributes: E.t -> DotAttributes.edge list
       
   end</code>
</table>
</td>
</tr>
</table>
<hr width="100%">
<pre><span class="keyword">val</span> <a name="VALfprint_graph"></a>fprint_graph : <code class="type">Format.formatter -> X.t -> unit</code></pre><div class="info">
<code class="code">fprint_graph ppf graph</code> pretty prints the graph <code class="code">graph</code> in
	the CGL language on the formatter <code class="code">ppf</code>.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALoutput_graph"></a>output_graph : <code class="type">Pervasives.out_channel -> X.t -> unit</code></pre><div class="info">
<code class="code">output_graph oc graph</code> pretty prints the graph <code class="code">graph</code> in the dot
	language on the channel <code class="code">oc</code>.<br>
</div>
</body></html>