OptionaldepthHow many levels deep to traverse.
OptionaldirectionTraversal direction.
'up' — callers only (who calls the target)'down' — callees only (what the target calls)'both' — both directionsOptionalincludeFollow callers through lifecycle hooks and interface members of foreign
classes (every ngOnInit in the program when walking up from one).
OptionalmaxMaximum number of nodes across the caller and callee trees. Traversal
stops when the budget is exhausted and the result is marked truncated.
Options for
buildCallGraph.