Klundberg Grift Save

swift dependency graph visualizer tool

Project README

grift

A swift dependency graph visualizer tool.

The intent of this is to use sourcekit to get type information for all elements of a set of swift files and create a dotfile that can be rendered into a graph via graphviz or some other tool.

Grift is in its very early stages. There are many scenarios it does not account for properly, and there's lots of type information that it isn't able to easily detect yet. If you're curious what it does support so far, check out the uncommented unit tests here for examples.

To play with what's there, you can simply run swift run to run grift in its own directory, or swift run grift dependencies --path {your-path-here} to specify your own location. The output will be in the graphviz dot format to standard output, which you can generate an image with using graphviz

For a rough idea of what this tool may become, check out the roadmap.

Open Source Agenda is not affiliated with "Klundberg Grift" Project. README Source: klundberg/grift
Stars
27
Open Issues
1
Last Commit
5 years ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating