[erlang-questions] suggestions for erlang drawing toolkit?
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.
----- Original Message -----
> Hi Garry,
> I have created call graphs and similar for my own code using
> 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.
> On Mon, Aug 8, 2011 at 21:45, Garry Hodgson < garry@REDACTED
> > 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
> > erlang-questions@REDACTED
> > http://erlang.org/mailman/ listinfo/erlang-questions
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions