[erlang-questions] Is there an Erlang based Graphiz-like program.

Robert Virding <>
Sat Dec 11 04:39:35 CET 2010


If you look in leex.erl you will find some code at the end of the file in out_dfa_graph/3 some code which outputs the internal DFA to a .dot file which can be viewed by Graphviz. It is not general code but specific for leex. It is quite interesting to see the DFA which has been built up.

Robert

----- "James Churchman" <> wrote:

> might be wrong but i think refacterl can export erlang source as
> GraphViz
> On 11 Dec 2010, at 02:08, Alain O'Dea wrote:
> 
> > On Friday, December 10, 2010, G.S. <>
> wrote:
> >> Hello,
> >> 
> >> Does anyone know of an Erlang based Graphiz-like program, and if
> not, what
> >> is the best/easiest way to interface an Erlang program with
> Graphiz?
> >> 
> >> Regards,
> >> -Gene
> >> 
> > 
> > I was unable to find any direct support application for GraphViz.
> > 
> > Ulf Wiger posted about this back in '08:
> > http://www.erlang.org/cgi-bin/ezmlm-cgi/4/32863
> > 
> > His post talks about generating GraphViz DOT files from Erlang Xref
> output.
> > 
> > You may also find graph_draw useful:
> >
> http://cean.process-one.net/packages/index.yaws?action=detail&name=graph_draw
> > 
> > An alternative I recommend is to use JInterface to communicate with
> a
> > Java process that uses
> >
> http://www.loria.fr/~szathmar/off/projects/java/GraphVizAPI/index.php
> > (Java GraphViz API).
> > 
> > See
> http://concise-software.blogspot.com/2009/08/concise-howtos-message-from-java-to.html
> > and
> http://concise-software.blogspot.com/2009/08/concise-howtos-message-from-erlang-to.html
> > for starting points on integrating Java and Erlang/OTP :)
> > 
> > ________________________________________________________________
> > erlang-questions (at) erlang.org mailing list.
> > See http://www.erlang.org/faq.html
> > To unsubscribe; mailto:
> > 
> 
> 
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:


More information about the erlang-questions mailing list