Quantcast

Is there an Erlang based Graphiz-like program.

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Is there an Erlang based Graphiz-like program.

G.S.-2
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Is there an Erlang based Graphiz-like program.

Alain O'Dea
On Friday, December 10, 2010, G.S. <[hidden email]> 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:[hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Is there an Erlang based Graphiz-like program.

James Churchman
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. <[hidden email]> 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:[hidden email]
>


________________________________________________________________
erlang-questions (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:[hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Is there an Erlang based Graphiz-like program.

Robert Virding-2
In reply to this post by G.S.-2
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" <[hidden email]> 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. <[hidden email]>
> 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:[hidden email]
> >
>
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:[hidden email]

________________________________________________________________
erlang-questions (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:[hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Is there an Erlang based Graphiz-like program.

Lukas Larsson-3
In reply to this post by James Churchman
If you are interested in exporting erlang source to dot files,
https://github.com/eproxus/grapherl is a lightweight program which can do
it.

On Sat, Dec 11, 2010 at 3:21 AM, James Churchman
<[hidden email]>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. <[hidden email]> 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:[hidden email]
> >
>
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:[hidden email]
>
>
Loading...