Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] OCaml code/algorithms for displaying directed graphs
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Keith Wansbrough <Keith.Wansbrough@c...>
Subject: Re: [Caml-list] OCaml code/algorithms for displaying directed graphs
> 
> 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.

Almost certainly Graphviz is your friend; specifically, the "dot" program.

  http://www.research.att.com/sw/tools/graphviz/

It's very easy to write your own binding to this (i.e., write out a
simple text file in .dot format), although I'm sure someone has
written one themselves if you prefer.

Another option is daVinci, but it went commercial a while ago - I'm
not sure what the license terms are.  It was certainly open and free
once upon a time.

  http://www.b-novative.com/products/daVinci/daVinci.html

--KW 8-)

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners