Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
OSX QuickLook Plugin for Graphviz dot files
C Objective-C
branch: master
Failed to load latest commit information.
English.lproj Initial project template
QuicklookDot.xcodeproj Using 64 bit environment to compile the binary
.gitattributes Updated documentation
Dot.h
Dot.m Re-added missing project file
GeneratePreviewForURL.m
GenerateThumbnailForURL.m Dummy HTML output for previews
Info.plist Change version for CI
main.c Initial project template
readme.md Markdown formatting
sample.dot Renamed project to QuicklookDot
screenshot.png Added screenshot

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

Something went wrong with that request. Please try again.