Swift Code Types Navigator
An experimental project that shows the types defined in a Swift code as expandable bubbles on a canvas.
What it looks like (it's smooth in real-life):
This is the result for the code of Canvas File Explorer for Mac.
How to use it:
Just run these two commands in Terminal from this project's root directory:
.build/debug/SwiftDiagramGenerator . <swiftFileOrFolderPath1> <swiftFileOrFolderPath2> ...
A tutorial post:
If you wish to work with the source code and hopefully contribute, here are some useful Swift Package Manager commands:
swift package clean
swift build creates a SwiftDiagramGenerator executable in .build/debug
swift build -c release creates a SwiftDiagramGenerator executable in .build/release
swift package update
swift package generate-xcodeproj
Usage of other software:
We're very grateful to have the ability to use these two amazing tools in the building of swift-code-types-navigator.