Angular Modernizer
    Preparing search index...

    Interface CallGraphOptions

    Options for buildCallGraph.

    interface CallGraphOptions {
        depth?: number;
        direction?: "up" | "down" | "both";
        includeLifecycleHooks?: boolean;
        maxNodes?: number;
    }
    Index

    Properties

    depth?: number

    How many levels deep to traverse.

    2
    
    direction?: "up" | "down" | "both"

    Traversal direction.

    • 'up' — callers only (who calls the target)
    • 'down' — callees only (what the target calls)
    • 'both' — both directions
    'both'
    
    includeLifecycleHooks?: boolean

    Follow callers through lifecycle hooks and interface members of foreign classes (every ngOnInit in the program when walking up from one).

    false
    
    maxNodes?: number

    Maximum number of nodes across the caller and callee trees. Traversal stops when the budget is exhausted and the result is marked truncated.

    200