I have the org snippet below. What I would like, is to see the rendered image when I press C-c C-c. I can achieve this with the elisp snippet below. Is there a "proper", or at least a better way of doing this?
Evgeni #+BEGIN_SRC dot :file files/graphviz/example1.png digraph test { size="6,5"; home [label = "Home"]; prod [label = "Products"]; news [label = "News"]; cont [label = "Contact"]; home -> {prod news cont} } #+END_SRC (org-babel-do-load-languages 'org-babel-load-languages '((dot . t) )) (defadvice org-babel-execute:dot (after refresh-images activate) (run-with-timer 1 nil 'org-display-inline-images))