ocaml-containers/1.1/CCGraph.Dot.html
2017-05-01 17:08:30 +02:00

114 lines
No EOL
7.4 KiB
HTML

<!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=utf-8" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="CCGraph.Lazy_tree.html">
<link rel="next" href="CCGraph.Map.html">
<link rel="Up" href="CCGraph.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 class methods" rel=Appendix href="index_methods.html">
<link title="Index of class types" rel=Appendix href="index_class_types.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="CCVector" rel="Chapter" href="CCVector.html">
<link title="CCHeap" rel="Chapter" href="CCHeap.html">
<link title="CCList" rel="Chapter" href="CCList.html">
<link title="CCOpt" rel="Chapter" href="CCOpt.html">
<link title="CCPair" rel="Chapter" href="CCPair.html">
<link title="CCFun" rel="Chapter" href="CCFun.html">
<link title="CCHash" rel="Chapter" href="CCHash.html">
<link title="CCInt" rel="Chapter" href="CCInt.html">
<link title="CCBool" rel="Chapter" href="CCBool.html">
<link title="CCFloat" rel="Chapter" href="CCFloat.html">
<link title="CCArray" rel="Chapter" href="CCArray.html">
<link title="CCRef" rel="Chapter" href="CCRef.html">
<link title="CCSet" rel="Chapter" href="CCSet.html">
<link title="CCOrd" rel="Chapter" href="CCOrd.html">
<link title="CCRandom" rel="Chapter" href="CCRandom.html">
<link title="CCString" rel="Chapter" href="CCString.html">
<link title="CCHashtbl" rel="Chapter" href="CCHashtbl.html">
<link title="CCMap" rel="Chapter" href="CCMap.html">
<link title="CCFormat" rel="Chapter" href="CCFormat.html">
<link title="CCIO" rel="Chapter" href="CCIO.html">
<link title="CCInt64" rel="Chapter" href="CCInt64.html">
<link title="CCChar" rel="Chapter" href="CCChar.html">
<link title="CCResult" rel="Chapter" href="CCResult.html">
<link title="CCParse" rel="Chapter" href="CCParse.html">
<link title="CCArray_slice" rel="Chapter" href="CCArray_slice.html">
<link title="CCListLabels" rel="Chapter" href="CCListLabels.html">
<link title="CCArrayLabels" rel="Chapter" href="CCArrayLabels.html">
<link title="Containers" rel="Chapter" href="Containers.html">
<link title="CCKTree" rel="Chapter" href="CCKTree.html">
<link title="CCKList" rel="Chapter" href="CCKList.html">
<link title="CCLazy_list" rel="Chapter" href="CCLazy_list.html">
<link title="CCMultiMap" rel="Chapter" href="CCMultiMap.html">
<link title="CCMultiSet" rel="Chapter" href="CCMultiSet.html">
<link title="CCTrie" rel="Chapter" href="CCTrie.html">
<link title="CCFlatHashtbl" rel="Chapter" href="CCFlatHashtbl.html">
<link title="CCCache" rel="Chapter" href="CCCache.html">
<link title="CCPersistentHashtbl" rel="Chapter" href="CCPersistentHashtbl.html">
<link title="CCDeque" rel="Chapter" href="CCDeque.html">
<link title="CCFQueue" rel="Chapter" href="CCFQueue.html">
<link title="CCBV" rel="Chapter" href="CCBV.html">
<link title="CCMixtbl" rel="Chapter" href="CCMixtbl.html">
<link title="CCMixmap" rel="Chapter" href="CCMixmap.html">
<link title="CCRingBuffer" rel="Chapter" href="CCRingBuffer.html">
<link title="CCIntMap" rel="Chapter" href="CCIntMap.html">
<link title="CCPersistentArray" rel="Chapter" href="CCPersistentArray.html">
<link title="CCMixset" rel="Chapter" href="CCMixset.html">
<link title="CCGraph" rel="Chapter" href="CCGraph.html">
<link title="CCHashSet" rel="Chapter" href="CCHashSet.html">
<link title="CCBitField" rel="Chapter" href="CCBitField.html">
<link title="CCHashTrie" rel="Chapter" href="CCHashTrie.html">
<link title="CCWBTree" rel="Chapter" href="CCWBTree.html">
<link title="CCRAL" rel="Chapter" href="CCRAL.html">
<link title="CCImmutArray" rel="Chapter" href="CCImmutArray.html">
<link title="CCHet" rel="Chapter" href="CCHet.html">
<link title="CCZipper" rel="Chapter" href="CCZipper.html">
<link title="CCPool" rel="Chapter" href="CCPool.html">
<link title="CCLock" rel="Chapter" href="CCLock.html">
<link title="CCSemaphore" rel="Chapter" href="CCSemaphore.html">
<link title="CCThread" rel="Chapter" href="CCThread.html">
<link title="CCBlockingQueue" rel="Chapter" href="CCBlockingQueue.html">
<link title="CCTimer" rel="Chapter" href="CCTimer.html">
<link title="CCUnix" rel="Chapter" href="CCUnix.html">
<link title="CCSexp" rel="Chapter" href="CCSexp.html">
<link title="CCSexp_lex" rel="Chapter" href="CCSexp_lex.html"><title>Containers doc : CCGraph.Dot</title>
</head>
<body>
<div class="navbar"><a class="pre" href="CCGraph.Lazy_tree.html" title="CCGraph.Lazy_tree">Previous</a>
&nbsp;<a class="up" href="CCGraph.html" title="CCGraph">Up</a>
&nbsp;<a class="post" href="CCGraph.Map.html" title="CCGraph.Map">Next</a>
</div>
<h1>Module <a href="type_CCGraph.Dot.html">CCGraph.Dot</a></h1>
<pre><span class="keyword">module</span> Dot: <code class="code"><span class="keyword">sig</span></code> <a href="CCGraph.Dot.html">..</a> <code class="code"><span class="keyword">end</span></code></pre><hr width="100%">
<pre><span id="TYPEattribute"><span class="keyword">type</span> <code class="type"></code>attribute</span> = <code class="type">[ `Color of string<br> | `Label of string<br> | `Other of string * string<br> | `Shape of string<br> | `Style of string<br> | `Weight of int ]</code> </pre>
<div class="info ">
Dot attribute<br>
</div>
<pre><span id="TYPEvertex_state"><span class="keyword">type</span> <code class="type"></code>vertex_state</span> </pre>
<div class="info ">
Hidden state associated to a vertex<br>
</div>
<pre><span id="VALpp"><span class="keyword">val</span> pp</span> : <code class="type">?tbl:('v, <a href="CCGraph.Dot.html#TYPEvertex_state">vertex_state</a>) <a href="CCGraph.html#TYPEtable">CCGraph.table</a> -><br> ?eq:('v -> 'v -> bool) -><br> ?attrs_v:('v -> <a href="CCGraph.Dot.html#TYPEattribute">attribute</a> list) -><br> ?attrs_e:('e -> <a href="CCGraph.Dot.html#TYPEattribute">attribute</a> list) -><br> ?name:string -> graph:('v, 'e) <a href="CCGraph.html#TYPEt">CCGraph.t</a> -> Format.formatter -> 'v -> unit</code></pre><div class="info ">
Print the graph, starting from given vertex, on the formatter<br>
</div>
<div class="param_info"><code class="code">attrs_v</code> : attributes for vertices</div>
<div class="param_info"><code class="code">attrs_e</code> : attributes for edges</div>
<div class="param_info"><code class="code">name</code> : name of the graph</div>
<pre><span id="VALpp_seq"><span class="keyword">val</span> pp_seq</span> : <code class="type">?tbl:('v, <a href="CCGraph.Dot.html#TYPEvertex_state">vertex_state</a>) <a href="CCGraph.html#TYPEtable">CCGraph.table</a> -><br> ?eq:('v -> 'v -> bool) -><br> ?attrs_v:('v -> <a href="CCGraph.Dot.html#TYPEattribute">attribute</a> list) -><br> ?attrs_e:('e -> <a href="CCGraph.Dot.html#TYPEattribute">attribute</a> list) -><br> ?name:string -><br> graph:('v, 'e) <a href="CCGraph.html#TYPEt">CCGraph.t</a> -> Format.formatter -> 'v <a href="CCGraph.html#TYPEsequence">CCGraph.sequence</a> -> unit</code></pre>
<pre><span id="VALwith_out"><span class="keyword">val</span> with_out</span> : <code class="type">string -> (Format.formatter -> 'a) -> 'a</code></pre><div class="info ">
Shortcut to open a file and write to it<br>
</div>
</body></html>