emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] best ways to generate simple diagrams?


From: ckelty ckelty
Subject: Re: [O] best ways to generate simple diagrams?
Date: Mon, 06 May 2019 12:12:14 -0700
User-agent: mu4e 1.2.0; emacs 26.1

Matt,

Did you already decide against graphviz? Admittedly it is only graphs and not "diagrams"... but it's very powerful and there is art in using a simple tool to make your life complex :)

#+BEGIN_SRC dot :file test-dot.png  :exports results
digraph D {

 Humanities -> {"Computing Tools and Methodologies"}
{"Computing Tools and Methodologies"} -> Humanities
}
#+END_SRC

#+RESULTS:
[[file:test-dot.png]]


ck



Matt Price <address@hidden> writes:

So, I'm finding more and more that I want to include simple diagrams in my course materials. At present I am generating them as svg's using Inkscape, but that feels really tiresome to me. I would much rather make them programmatically, preferably including the source code as an org-mode block.
I thought ditaa would be the tool for this, but I cannot figure 
out how to
do this work efficiently in ditaa.  So for instance, I have this 
simple svg
file (attached). It consists of two text-containing  symmetrical 
rectangles
separated by a bit of whitespace and connected by two curved 
arrows (one
pointing from each of the rectangles to the other).

Trying to replicate this in ditaa did not prove easy. Editing feels extremely labourious. Am I missing something? Is there a really good tutorial somehwere that I'm just not finding? Or is there maybe another
tool I should be using instead?

Thanks as always,

Matt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]