[erlang-questions] suggestions for erlang drawing toolkit?

Robert Virding <>
Tue Aug 9 16:12:17 CEST 2011


If you want some example code for generating DOT files look towards the end of leex.erl (scanner generator), out_dfa_graph/3, where there is some code to generate a DOT file showing the internal DFA as a graph. It is only a limited example but gives you some indication how it is done. 

Robert 

----- Original Message -----

> Hi Garry,

> I have created call graphs and similar for my own code using
> graphviz.

> The dot language is very easy to work with and you can generate SVG
> using graphviz.

> You will have to live with the way graphviz decides to lay out your
> drawing, but in most cases it is actually okay and you can insert
> some control commands to guide it if it is not suiting your needs.

> Cheers,
> Torben

> On Mon, Aug 8, 2011 at 21:45, Garry Hodgson < 
> > wrote:

> > for some visualization work i'm doing i need to be able to generate
> 
> > images from basic line/ellipse/text kind of primitives. we've been
> 
> > using PIL (Python Imaging Library) for this, but it'd be nicer to
> > do
> 
> > this in just erlang. ideally i'd like to be able to generate PNG
> > and
> 
> > SVG output.
> 

> > does anyone have any suggestions?
> 

> > thanks
> 

> > --
> 
> > Garry Hodgson
> 
> > Lead Member of Technical Staff
> 
> > AT&T Chief Security Office (CSO)
> 

> > "This e-mail and any files transmitted with it are AT&T property,
> > are
> > confidential, and are intended solely for the use of the individual
> > or entity to whom this e-mail is addressed. If you are not one of
> > the named recipient(s) or otherwise have reason to believe that you
> > have received this message in error, please notify the sender and
> > delete this message immediately from your computer. Any other use,
> > retention, dissemination, forwarding, printing, or copying of this
> > e-mail is strictly prohibited."
> 
> > ______________________________ _________________
> 
> > erlang-questions mailing list
> 
> > 
> 
> > http://erlang.org/mailman/ listinfo/erlang-questions
> 

> --
> http://www.linkedin.com/in/torbenhoffmann

> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110809/744b7648/attachment.html>


More information about the erlang-questions mailing list