Home / Function/ generateCallGraph() — typescript-sdk Function Reference

generateCallGraph() — typescript-sdk Function Reference

Architecture documentation for the generateCallGraph() function in async.ts from the typescript-sdk codebase.

Entity Profile

Dependency Diagram

graph TD
  60754faa_dda6_c692_bd25_2d355b75767c["generateCallGraph()"]
  c090e700_29bb_08f7_6d99_5d383680d77b["generateCallGraph()"]
  60754faa_dda6_c692_bd25_2d355b75767c -->|calls| c090e700_29bb_08f7_6d99_5d383680d77b
  style 60754faa_dda6_c692_bd25_2d355b75767c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/async.ts lines 309–319

  async generateCallGraph(
    file: Blob,
    options?: GraphRequestOptions
  ): Promise<CodeGraphEnvelope> {
    const key = options?.idempotencyKey || this.generateIdempotencyKey();
    const pollOptions = options?.signal ? { ...this.options, signal: options.signal } : this.options;
    return pollUntilComplete<CodeGraphEnvelope, CodeGraphEnvelopeAsync>(
      () => this.api.generateCallGraph({ idempotencyKey: key, file }, options?.initOverrides),
      pollOptions
    );
  }

Domain

Subdomains

Frequently Asked Questions

What does generateCallGraph() do?
generateCallGraph() is a function in the typescript-sdk codebase.
What does generateCallGraph() call?
generateCallGraph() calls 1 function(s): generateCallGraph.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free