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

CodeGraphEnvelopeGraphToJSON() — typescript-sdk Function Reference

Architecture documentation for the CodeGraphEnvelopeGraphToJSON() function in CodeGraphEnvelopeGraph.ts from the typescript-sdk codebase.

Entity Profile

Dependency Diagram

graph TD
  e3bdb102_ae45_500c_0d10_fccc38ea8b9b["CodeGraphEnvelopeGraphToJSON()"]
  186d4831_8762_a226_ba9c_56a473680dce["CodeGraphEnvelopeToJSON()"]
  186d4831_8762_a226_ba9c_56a473680dce -->|calls| e3bdb102_ae45_500c_0d10_fccc38ea8b9b
  style e3bdb102_ae45_500c_0d10_fccc38ea8b9b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/models/CodeGraphEnvelopeGraph.ts lines 73–82

export function CodeGraphEnvelopeGraphToJSON(value?: CodeGraphEnvelopeGraph | null): any {
    if (value == null) {
        return value;
    }
    return {
        
        'nodes': ((value['nodes'] as Array<any>).map(CodeGraphNodeToJSON)),
        'relationships': ((value['relationships'] as Array<any>).map(CodeGraphRelationshipToJSON)),
    };
}

Domain

Subdomains

Frequently Asked Questions

What does CodeGraphEnvelopeGraphToJSON() do?
CodeGraphEnvelopeGraphToJSON() is a function in the typescript-sdk codebase.
What calls CodeGraphEnvelopeGraphToJSON()?
CodeGraphEnvelopeGraphToJSON() is called by 1 function(s): CodeGraphEnvelopeToJSON.

Analyze Your Own Codebase

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

Try Supermodel Free