You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Brett Langdon 29f11b2771 Add spacemacs 9 years ago
..
img Add spacemacs 9 years ago
README.org Add spacemacs 9 years ago
packages.el Add spacemacs 9 years ago

README.org

graphviz layer

/brettlangdon/dotfiles/src/commit/b1f931835b4f3874979d9e904174dc7e108725b1/emacs.d/layers/+lang/graphviz/img/graphviz.png

Description

This contains a forked version of graphviz-dot-mode that enables a live-reload type work flow for editing `.dot` files. When live-preview is enabled, saving the file will automatically trigger a compilation and reload of the image buffer associated with the file.

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add graphviz to the existing dotspacemacs-configuration-layers list in this file.

Configuration

If the live preview is not always updating the rendered image properly, you can try to adjust the value of graphviz-dot-revert-delay higher to give the compiler more time to finish generating the file before reverting the buffer.

Key bindings

Key Binding Description
SPC m , Preview file
SPC m = Indent graph
SPC m t Toggle live-preview
SPC m c Set compile command and compile file