On Tue, 28 Sep 2004, Richard Jones wrote: > I have a directed graph (actually, links between web-pages). I'd like > to display it "as planar as possible". Are there any OCaml tools or > libraries which I can use? The nearest I've found is ocamlgraph which > looks nice but doesn't seem to deal with the display side of things. As others have already mentioned, Graphviz (the "dot"-utility) should provide the layout functionality you need for your graphs. If you need an example of how this can be used from OCaml, just take a look at the POMAP-library. It uses "dot" to display partially ordered maps: http://www.oefai.at/~markus/home/ocaml_sources.html#POMAP Regards, Markus -- Markus Mottl http://www.oefai.at/~markus markus@oefai.at