From: Jean-Christophe Filliatre <Jean-Christophe.Filliatre@lri.fr>
To: Richard Jones <rich@annexia.org>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] OCaml code/algorithms for displaying directed graphs
Date: Tue, 28 Sep 2004 15:04:39 +0200 [thread overview]
Message-ID: <16729.24935.189023.83431@gargle.gargle.HOWL> (raw)
In-Reply-To: <20040928124015.GA587@annexia.org>
Richard Jones writes:
>
> 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.
Indeed, ocamlgraph does not deal with the display of graphs, which is
notoriously a difficult problem (and we are not graphs specialists, so
we won't enter such a trap). However, ocamlgraph has an output for the
ASCII .dot format, to be used for instance with the Graphviz set of
tools: http://www.research.att.com/sw/tools/graphviz/ (there is a
Debian package called graphviz for instance)
Among these tools there is one displaying graphs (called dot, with
outputs in various formats including PostScript), which makes efforts
to display planar graphs (but sometimes it fails to draw a planar
graph as planar). The dot input syntax is very simple.
On the Graphviz web site, you'll also find a lot of material regarding
the problem of graph layout.
Best regards,
--
Jean-Christophe Filliâtre (http://www.lri.fr/~filliatr)
-------------------
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
next prev parent reply other threads:[~2004-09-28 13:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-28 12:40 Richard Jones
2004-09-28 13:00 ` Keith Wansbrough
2004-09-28 13:04 ` Jean-Christophe Filliatre [this message]
2004-09-28 13:33 ` Nicolas Cannasse
2004-09-28 14:12 ` Markus Mottl
2004-09-28 14:41 ` Diego Olivier Fernandez Pons
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16729.24935.189023.83431@gargle.gargle.HOWL \
--to=jean-christophe.filliatre@lri.fr \
--cc=caml-list@inria.fr \
--cc=rich@annexia.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox