Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > adda6cb03f7d04f28c3fac3fe1ef4d50 > files > 97

ocaml-ocamlgraph-devel-1.3-3.fc13.i686.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="Up" href="Dot.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>Dot.Parse</title>
</head>
<body>
<div class="navbar">&nbsp;<a href="Dot.html">Up</a>
&nbsp;</div>
<center><h1>Functor <a href="type_Dot.Parse.html">Dot.Parse</a></h1></center>
<br>
<pre><span class="keyword">module</span> Parse: <div class="sig_block"><code class="code">functor (</code><code class="code">B</code><code class="code"> : </code><code class="type"><a href="Builder.S.html">Builder.S</a></code><code class="code">) -&gt; </code><div class="sig_block"><code class="code">functor (</code><code class="code">L</code><code class="code"> : </code><code class="code">sig</code><div class="sig_block"><pre><span class="keyword">val</span> <a name="VALnode"></a>node : <code class="type"><a href="Dot_ast.html#TYPEnode_id">Dot_ast.node_id</a> -> <a href="Dot_ast.html#TYPEattr">Dot_ast.attr</a> list -> B.G.V.label</code></pre><div class="info">
How to build the node label out of the set of attributes<br>
</div>
<pre><span class="keyword">val</span> <a name="VALedge"></a>edge : <code class="type"><a href="Dot_ast.html#TYPEattr">Dot_ast.attr</a> list -> B.G.E.label</code></pre><div class="info">
How to build the edge label out of the set of attributes<br>
</div>
</div><code class="code">end</code><code class="code">) -&gt; </code><code class="code">sig</code> <a href="Dot.Parse.html">..</a> <code class="code">end</code></div></div></pre>Provide a parser for DOT file format.<br>
<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>B</code></td>
<td align="center" valign="top">:</td>
<td><code class="type"><a href="Builder.S.html">Builder.S</a></code>
<tr>
<td align="center" valign="top" width="15%">
<code>L</code></td>
<td align="center" valign="top">:</td>
<td><code class="type">sig 
     val node : node_id -> attr list -> B.G.V.label
       (** How to build the node label out of the set of attributes *)
     val edge : attr list -> B.G.E.label 
       (** How to build the edge label out of the set of attributes *)
   end</code>
</table>
</td>
</tr>
</table>
<hr width="100%">
<pre><span class="keyword">val</span> <a name="VALparse"></a>parse : <code class="type">string -> B.G.t</code></pre><div class="info">
Parses a dot file<br>
</div>
<pre><span class="keyword">val</span> <a name="VALparse_bounding_box_and_clusters"></a>parse_bounding_box_and_clusters : <code class="type">string -> B.G.t * string * <a href="Dot.html#TYPEclusters_hash">Dot.clusters_hash</a></code></pre><div class="info">
Parses a dot file and returns the graph, its bounding box and 
      a hash table from clusters to dot attributes<br>
</div>
</body></html>