Mindmaps in Emacs
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.
init.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)
org-mode(Not sure if this is needed, but better be explicit)
Now create following in your scratch buffer that is already in
#+begin_src plantuml :file my-diagram.png @startmindmap + OS ++ Ubuntu +++ Linux Mint +++ Kubuntu +++ Lubuntu +++ KDE Neon ++ LMDE ++ SolydXK ++ SteamOS ++ Raspbian -- Windows 95 -- Windows 98 -- Windows NT --- Windows 8 --- Windows 10 @endmindmap #+end_src
The above is called
Arithmatic Syntax (due to
-) benefit of this
+ appear on right side of the main node and
- appear on the left
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.
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
C-c C-c to
preview the mindmap within emacs itself.
This is how it looks