Skip to content

naoty/flock

Repository files navigation

flock

Flock is a simple tool to create visual object graphs of Swift source code.

flock

To create the above diagram using Graphviz:

$ cd <flock repo>
$ flock Source > object_graph.dot
$ dot -Tpng object_graph.dot -o flock.png

Installation

$ brew tap naoty/misc
$ brew install flock

Usage

$ flock [folder of swift files] > object_graph.dot
$ dot -Tpdf object_graph.dot -o object_graph.pdf