Nomnoml is a tool to draw UML diagrams based on a simple syntax. Check it out. This mode is based on mermaid-mode's code.
You'll need to have nomnoml installed on your machine and have the nomnoml program accessible from the $PATH variable.
$> npm install -g nomnoml
git clone https://github.com/pbellon/nomnoml-mode.git ~/.emacs.d/nomnoml-mode
Then add to your init.el:
(load "~/.emacs.d/nomnoml-mode/nomnoml")
(require 'nomnoml-mode)
Once setup you should reload this init.el
with the load-file
emacs command.
This mode will be automatically enabled for all files ending with .uml
.
First: C-c C-c
to compile
Then: C-c C-v
to view.