SwiftOutline is a tool to generate relationship graph of iOS ViewControllers.
$ brew install kenmaz/taps/swiftoutline
$ swiftoutline --dir <path/to/sources>
You can get a relationship graph of iOS ViewControllers like these:
https://github.com/kickstarter/ios-oss
swiftoutline --dir Kickstarter-iOS/Views/Controllers/ --exclude Tests.swift
https://apps.apple.com/jp/app/animemaker/id405622194
$ swiftoutline --help
Usage:
$ swiftoutline
Options:
--dir [default: ["."]] - Target sources directory
--exclude [default: ["Debug"]] - Keyword to exclude target source path
--output [default: /tmp/graph.png] - Graph image file output path
--dotfile [default: /tmp/graph.dot] - Intermediate .dot file output path