Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/naoty/flock

Object graph in Swift
https://github.com/naoty/flock

swift

Last synced: 2 months ago
JSON representation

Object graph in Swift

Awesome Lists containing this project

README

        

# flock

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

![flock](flock.png)

To create the above diagram using [Graphviz](http://graphviz.org):
```sh
$ cd
$ flock Source > object_graph.dot
$ dot -Tpng object_graph.dot -o flock.png
```

## Installation

```sh
$ brew tap naoty/misc
$ brew install flock
```

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