Can this be used to create a call graph?
Shasoosh opened this issue · comments
Shasoosh commented
Hello,
I'm seeking a method to visualize all the classes in my project but also identify dependencies \ relationship. (basically which class calls another.)
Is it possible to achieve this with the tool?
For example, scanning Car.swift
will produce something similar to
+-------------------+ +-------------------+ +----------------------+
| Music | <-- | Car | --> | Engine |
+-------------------+ +-------------------+ +----------------------+
| + startMusic() | | + startCar() | | + startEngine() |
+-------------------+ +-------------------+ +----------------------+
class Car {
static func startCar() {
print("Car started")
Engine.startEngine()
Music.startMusic()
}
}
class Music {
static func startMusic() {
print("Music started")
}
}
class Engine {
static func startEngine() {
print("Engine started")
}
}