Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/naoty/flock
- Owner: naoty
- License: mit
- Created: 2017-02-21T15:10:36.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-02-03T14:12:21.000Z (almost 5 years ago)
- Last Synced: 2024-10-22T13:59:00.975Z (3 months ago)
- Topics: swift
- Language: Swift
- Homepage:
- Size: 48.8 KB
- Stars: 35
- Watchers: 2
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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
```