Forgot that `ob-dot.el` exists in Org. I blindly expected the `graphviz-dot-mode` package to provide babel support inf6b7e8a
. Also, `org-src-lang-modes` expects its CDRs to omit the -mode suffix, which should fix syntax highlighting of graphviz/dot babel blocks. Amend:f6b7e8ae48
Ref: #7546
:lang graphviz
Description unfold
This module adds graphviz support to Emacs, allowing you to generate diagrams from plain text. Flycheck is supported.
Maintainers
This module has no dedicated maintainers. Become a maintainer?
Module flags
This module has no flags.
Packages
Hacks
No hacks documented for this module.
TODO Changelog
This module does not have a changelog yet.
Installation
Enable this module in your doom!
block.
This module requires that the graphviz
package be installed on your system to
build diagrams with. You can install it using:
sudo dnf install graphviz # For fedora
sudo apt install graphviz # For debian/ubuntu
Usage
This module should configure "out-of-the-box" if you have installed graphviz on your system.
With org-babel LaTeX/PDF-export, use a file naming ending with ".pdf", otherwise
LaTeX might complain about a non-existant \\includesvg
command.
digraph {
A -> B;
B -> D;
}
Configuration
There is nothing to configure. Just install dot and it should work.
Troubleshooting
There are no known problems with this module. Report one?
Frequently asked questions
This module has no FAQs yet. Ask one?
TODO Appendix
This module has no appendix yet. Write one?