Skip to content

klundberg/grift

Repository files navigation

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.

About

swift dependency graph visualizer tool

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy