Sophie

Sophie

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

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.html">
<link rel="next" href="Dot.html">
<link rel="Up" href="index.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"><link title="Parser" rel="Section" href="#2_Parser">
<link title="Pretty-printer" rel="Section" href="#2_Prettyprinter">
<title>Gml</title>
</head>
<body>
<div class="navbar"><a href="Graphviz.html">Previous</a>
&nbsp;<a href="index.html">Up</a>
&nbsp;<a href="Dot.html">Next</a>
</div>
<center><h1>Module <a href="type_Gml.html">Gml</a></h1></center>
<br>
<pre><span class="keyword">module</span> Gml: <code class="code">sig</code> <a href="Gml.html">..</a> <code class="code">end</code></pre>Parser and pretty-printer for GML file format.<br>
<hr width="100%">
<br><code><span class="keyword">type</span> <a name="TYPEvalue"></a><code class="type"></code>value = </code><table class="typetable">
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">Int</span> <span class="keyword">of</span> <code class="type">int</code></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">Float</span> <span class="keyword">of</span> <code class="type">float</code></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">String</span> <span class="keyword">of</span> <code class="type">string</code></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span class="constructor">List</span> <span class="keyword">of</span> <code class="type"><a href="Gml.html#TYPEvalue_list">value_list</a></code></code></td>

</tr></table>


<pre><span class="keyword">type</span> <a name="TYPEvalue_list"></a><code class="type"></code>value_list = <code class="type">(string * <a href="Gml.html#TYPEvalue">value</a>) list</code> </pre>

<br>
<a name="2_Parser"></a>
<h2>Parser</h2><br>
<pre><span class="keyword">module</span> <a href="Gml.Parse.html">Parse</a>: <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="Gml.html#TYPEvalue_list">Gml.value_list</a> -> B.G.V.label</code></pre><div class="info">
How to build the node label out of the set of GML attributes.
	   For example <pre>node [ id 12 label "foo" ]</pre>  will call this
	   function with <code class="code">["id", Int 12; "label", String "foo"]</code><br>
</div>
<pre><span class="keyword">val</span> <a name="VALedge"></a>edge : <code class="type"><a href="Gml.html#TYPEvalue_list">Gml.value_list</a> -> B.G.E.label</code></pre><div class="info">
How to build the edge label out of the set of GML attributes<br>
</div>
</div><code class="code">end</code><code class="code">) -&gt; </code><code class="code">sig</code> <a href="Gml.Parse.html">..</a> <code class="code">end</code></div></div></pre><div class="info">
Provide a parser for GML file format.
</div>
<br>
<a name="2_Prettyprinter"></a>
<h2>Pretty-printer</h2><br>
<pre><span class="keyword">module type</span> <a href="Gml.G.html">G</a> = <code class="code">sig</code> <a href="Gml.G.html">..</a> <code class="code">end</code></pre><div class="info">
Signature for graph required by <a href="Gml.Print.html"><code class="code">Gml.Print</code></a>.
</div>
<pre><span class="keyword">module</span> <a href="Gml.Print.html">Print</a>: <div class="sig_block"><code class="code">functor (</code><code class="code">G</code><code class="code"> : </code><code class="type"><a href="Gml.G.html">G</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="Gml.G.V.html#TYPElabel">Gml.G.V.label</a> -> <a href="Gml.html#TYPEvalue_list">Gml.value_list</a></code></pre><pre><span class="keyword">val</span> <a name="VALedge"></a>edge : <code class="type"><a href="Gml.G.E.html#TYPElabel">Gml.G.E.label</a> -> <a href="Gml.html#TYPEvalue_list">Gml.value_list</a></code></pre></div><code class="code">end</code><code class="code">) -&gt; </code><code class="code">sig</code> <a href="Gml.Print.html">..</a> <code class="code">end</code></div></div></pre><div class="info">
Provide a pretty-printer for GML file format.
</div>
</body></html>