Org Babel PlantUML MindMap

Org Babel PlantUML MindMap

Org Mode

Org mode is very nice for creating documents. This whole website is just created with org mode and then pushed to a static website. (AWS hosted if you are wondering).

Org Babel

With babel you can embed source code.

#+BEGIN_SRC elisp :exports both


(setq x0 93)

x0


#+END_SRC 

#+RESULTS:
: 93

(For those of you wondering how I got the #+BEGIN_SRC elisp :exports both line in the outupt it was by wrapping it up in #+BEGIN_EXAMPLE #+END_EXAMPLE.)

The above is a (not particularly inspring) example of emacs lisp code.

Graphs with GraphViz

Sometimes I want to have a circles and arrows picture.

For this I can generate very sophisticated examples with GraphViz .

#+BEGIN_SRC dot :file ../pix_/circles-and-arrows.svg :cmdline -Kdot -Tsvg

digraph G {

node [style=filled fillcolor="#EEEEEE"]  

rankdir = LR

AJAHS [label=< <b> Ajahs </b> <br/> In the White Tower <br/> In Tar Valon > ]

WHITE  [label=< <b> White  </b>  <br/> Logic > ]
RED    [label=< <b> Red    </b>  <br/>  > ]
YELLOW [label=< <b> Yellow </b>  <br/> Healing > ]
GREEN  [label=< <b> Green  </b>  <br/> Battle > ]
BLUE   [label=< <b> Blue   </b>  <br/> Causes > ]
BROWN  [label=< <b> Brown  </b>  <br/> History > ]
GREY   [label=< <b> Grey   </b>  <br/> Negotiation > ]
BLACK  [label=< <b> Black   </b>  <br/> Darkfriends > ]

NYNAEVE [label=<  Nynave Al'Mera  > ]
MORAINE [label=<  Moraine Demodred  > ]
VERIN   [label=<  Verin Sedai  > ]
EGWENE  [label=<  Egwene Al'Vere > ]

AJAHS -> { WHITE RED YELLOW GREEN BLUE BROWN GREY BLACK }

YELLOW -> NYNAEVE
BLUE -> MORAINE
BROWN -> VERIN
GREEN -> EGWENE



}

circles-and-arrows.svg

If you are wondering what the theme of the picture is, it is all about Robert Jordan's Wheel of Time . The content isn't important, it's just supposed to be slightly more interesting than lorem ipsum.