Hi Rustom,

On 2014-04-18 05:21, Rustom Mody <rustompm...@gmail.com> writes:

> What I would like is a graphic -- an automata-diagram made perhaps by
> dot. Can that easily/conveniently go up onto worg?

I don't know how worg's export is configured, but something like this
may work ...

--8<---------------cut here---------------start------------->8---
# -*- org-confirm-babel-evaluate: nil -*-

#+name: mygraph
#+begin_src dot :file mygraph.png :exports results
digraph {
  9 -> 4 [label=c];
  9 -> 2 [label=" n"];
  9 -> 9 [label=" e"];
  5 -> 3 [label=" e"];
  2 -> 4 [label=" k"];
  4 -> 9 [label=" j"];
}
#+end_src

#+results: mygraph
--8<---------------cut here---------------end--------------->8---

You can, if you need, build the contents of the dot block from another
babel block.

Alan

Reply via email to