summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCasey Robinson <casey@fugue.co>2019-01-10 12:48:03 -0500
committerCasey Robinson <casey@fugue.co>2019-01-10 12:48:03 -0500
commit1d7b44f8ebb31a18bda3d442833c690809da1940 (patch)
treea671dcad0aa796e520adc3191cfeefe482bcaecc
parent1848cbf3f41bf7f84a2d6c1ab1c379b0ad40759f (diff)
downloadrampantmonkey-1d7b44f8ebb31a18bda3d442833c690809da1940.tar.gz
rampantmonkey-1d7b44f8ebb31a18bda3d442833c690809da1940.tar.bz2
rampantmonkey-1d7b44f8ebb31a18bda3d442833c690809da1940.zip
render dot graphs embedded in org files
-rw-r--r--emacsos/emacsos-org.org4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacsos/emacsos-org.org b/emacsos/emacsos-org.org
index 50c00a9..2489bba 100644
--- a/emacsos/emacsos-org.org
+++ b/emacsos/emacsos-org.org
@@ -95,10 +95,12 @@ Presentations. Sometimes it is helpful to use emacs to present slides rather tha
#+END_SRC
Diagrams. I like using ASCII art to define diagrams and ditaa is a fantastic tool for rendering these diagrams.
+And for directed or undirected graphs, graphviz dot is helpful.
#+BEGIN_SRC emacs-lisp :tangle yes
(org-babel-do-load-languages
'org-babel-load-languages
- '((ditaa . t)))
+ '((ditaa . t)
+ (dot . t)))
(setq org-ditaa-jar-path "/usr/share/java/ditaa/ditaa-0.11.jar")