doomemacs/modules/lang/graphviz
Henrik Lissner be422c4516
fix(graphviz): org babel integration
Forgot that `ob-dot.el` exists in Org. I blindly expected the
`graphviz-dot-mode` package to provide babel support in f6b7e8a.

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
2024-09-12 03:54:36 -04:00
..
autoload.el module: add :lang graphviz 2024-09-11 19:45:36 -04:00
config.el fix(graphviz): org babel integration 2024-09-12 03:54:36 -04:00
doctor.el module: add :lang graphviz 2024-09-11 19:45:36 -04:00
packages.el module: add :lang graphviz 2024-09-11 19:45:36 -04:00
README.org module: add :lang graphviz 2024-09-11 19:45:36 -04:00

: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.

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?