I have been using Emacs for about 4+ years now, and I still find new things.
One of the thing I discovered this week is ability to create mindmaps without leaving the comfort of Emacs 😄 This is made possible via PlantUML.
Doom emacs makes it very easy to set it up.
- Enable
plantumlin theinit.elof your doom emacs config. M-x doom/reload(This will install the appropriate packages)M-x plantuml-download-jar(Make sure you have working java installation)doom/open-scratch-bufferorg-mode(Not sure if this is needed, but better be explicit)
Now create following in your scratch buffer that is already in plantuml mode.
|
|
The above is called Arithmatic Syntax (due to + and -) benefit of this
is that + appear on right side of the main node and - appear on the left
side.
So if you prefer certain nodes to appear on the left vs right this is syntax you should use.
If you don't care, then standard markdown syntax also works. Just that all the nodes appear on the right side.
Now, C-c C-e h o to export your org document into html. We are interested in
my-diagram.png which will be in the same directory as your exported html file.
If you do not want to export the file, then get rid of the first and last line
in the org file above (ones with _src) then plantuml-mode and C-c C-c to
preview the mindmap within emacs itself.
This is how it looks

Originally published on microblog here