Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.42 KB

README.org

File metadata and controls

37 lines (29 loc) · 1.42 KB

graphviz layer

img/graphviz.png

Table of Contents

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.

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.

Install

To use this contribution add it to your ~/.spacemacs

(setq-default dotspacemacs-configuration-layers '(graphviz))

Key bindings

Key BindingDescription
<SPC> tToggle live-preview
<SPC> cSet compile command and compile file
<SPC> pPreview file
<SPC> ,Preview file