/usr/share/doc/ocaml-tools/README.ocamldot is in ocaml-tools 20120103-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | Ocamldot generates program dependency graphs for ocaml programs.
The dependency graph output by ocamldot can be rendered by a separate
program, dot. Dot is freely available from
http://www.research.att.com/sw/tools/graphviz/
Ocamldot is designed to process the output of ocamldep. A typical use
would be
ocamldep *.ml | ocamldot > dep.dot
or
ocamldep *.ml > .depend
ocamldot .depend > dep.dot
This will output a dot graph into the file dep.dot. You can then use
the program dotty to view, edit, and print the graph.
Ocamldot has the following options:
-fullgraph draw the full graph (default is to draw only the kernel)
-landscape output in landscape format (default is portrait)
-lr draw graph from left to right (default is top to bottom)
-r <r> use <r> as a root in the graph; nodes reachable from <r>
will be shown
(The transitive kernel of a dag is the smallest subset of the dag
whose transitive closure is the same as the transitive closure of the
dag. For example, the kernel of A->B, A->C, B->C is just the two
edges A->B, B->C.)
-Trevor Jim
|