Graphviz
Graphviz
Install the Emacs package.
(with-eval-after-load 'package
(add-to-list 'package-selected-packages 'graphviz-dot-mode))
Note. Homebrew* Graphviz configuration
installs the actual program.
Indent with 2 instead of 4 spaces.
(with-eval-after-load 'graphviz-dot-mode
(setopt graphviz-dot-indent-width 2))
This is currently unused:
<<dot-theme>>
newrank = true // rank across clusters
compound = true // allow edges between clusters
fontname = "Charter"
node [fontname = "Charter"]
edge [fontname = "Charter"]
Usage with noweb:
digraph {
<<graph-init>>
Test
}