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
  e6cda218_73c8_d747_b018_d8be45dc79c1["generateCallGraph()"]
  6d526024_bbf1_efc9_e652_5fd9c4256a6d["SupermodelClient"]
  e6cda218_73c8_d747_b018_d8be45dc79c1 -->|defined in| 6d526024_bbf1_efc9_e652_5fd9c4256a6d
  65e51367_9905_d6a7_4b55_7822eba36751["generateCallGraph()"]
  e6cda218_73c8_d747_b018_d8be45dc79c1 -->|calls| 65e51367_9905_d6a7_4b55_7822eba36751
  style e6cda218_73c8_d747_b018_d8be45dc79c1 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

Defined In

Frequently Asked Questions

What does generateCallGraph() do?
generateCallGraph() is a function in the typescript-sdk codebase, defined in src/async.ts.
Where is generateCallGraph() defined?
generateCallGraph() is defined in src/async.ts at line 309.
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