Simply highlight a graphviz snippet in your file, and hit super+shift+g
to view it. You can also click in the the body of a snippet. Easy!
Install the package GraphvizPreview
through Package Control. Works with Sublime Text 2 and Sublime Text 3 Beta.
This package also requires dot
to be installed.
Install graphviz using Homebrew
brew install graphviz
For windows:
- Download and install GraphViz.
- Add the GraphViz bin folder to the env PATH variable (C:\Program Files (x86)\Graphviz\bin)
Common:
- Download the zip.
- Rename resulting folder to
GraphvizPreview
. - Place the folder in your Sublime Text Packages folder.
- Add Windows & Linux Support
- Configurable hot key
- Configurable
dot
binary location
- Added Sublime Text 3 Support
- Created preview plugin for Sublime Text 2 on Mac OS