OSX QuickLook Plugin for Graphviz dot files
C Objective-C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
English.lproj
QuicklookDot.xcodeproj
.gitattributes
Dot.h
Dot.m
GeneratePreviewForURL.m
GenerateThumbnailForURL.m
Info.plist
main.c
readme.md
sample.dot
screenshot.png

readme.md

QuicklookDot

This bundle allows you to conveniently preview dot files in a OSX QuickLook preview.

Screenshot

Installation

  • The dot binary is a pre-requisite. Install it from http://www.graphviz.org

  • To be sure install a symbolic link in your Terminal

      ln -s `which dot` /usr/bin/dot
    
  • Download the current version of the plugin from the "Downloads" section

  • Copy the QuickLook plugin bundle with the .qlgenerator ending to the folder ~/Library/QuickLook (Create the folder, if it does not exist)

Using the plugin

  • You should be able to preview your .dot or .gv files using the space key in Finder.

  • You also see a preview if your file is selected and if you are in column mode (`⌘+ 3).

  • You can use a simple HelloWorld.dot

      digraph G{
      	Hello -> World
      	this -> is -> a -> test
      }
    

Development

Git repository: git@github.com:besi/quicklook-dot.git

Debugging

defaults write -g QLEnableLogging YES

# Create preview from the command line
qlmanage -p ~/Dropbox/projects/OSX/quicklook-dot/sample.dot

Links