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

SupermodelIRGraphFromJSONTyped() — typescript-sdk Function Reference

Architecture documentation for the SupermodelIRGraphFromJSONTyped() function in SupermodelIRGraph.ts from the typescript-sdk codebase.

Entity Profile

Dependency Diagram

graph TD
  b71894db_cc13_0ec0_e167_8d5033d31218["SupermodelIRGraphFromJSONTyped()"]
  16665b9d_716b_53d2_ad0f_8f224211e5bc["SupermodelIRGraph.ts"]
  b71894db_cc13_0ec0_e167_8d5033d31218 -->|defined in| 16665b9d_716b_53d2_ad0f_8f224211e5bc
  60731f7f_b055_315c_fdde_8543b6ec9de8["SupermodelIRGraphFromJSON()"]
  60731f7f_b055_315c_fdde_8543b6ec9de8 -->|calls| b71894db_cc13_0ec0_e167_8d5033d31218
  style b71894db_cc13_0ec0_e167_8d5033d31218 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/models/SupermodelIRGraph.ts lines 62–71

export function SupermodelIRGraphFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupermodelIRGraph {
    if (json == null) {
        return json;
    }
    return {
        
        'nodes': ((json['nodes'] as Array<any>).map(CodeGraphNodeFromJSON)),
        'relationships': ((json['relationships'] as Array<any>).map(CodeGraphRelationshipFromJSON)),
    };
}

Domain

Subdomains

Frequently Asked Questions

What does SupermodelIRGraphFromJSONTyped() do?
SupermodelIRGraphFromJSONTyped() is a function in the typescript-sdk codebase, defined in src/models/SupermodelIRGraph.ts.
Where is SupermodelIRGraphFromJSONTyped() defined?
SupermodelIRGraphFromJSONTyped() is defined in src/models/SupermodelIRGraph.ts at line 62.
What calls SupermodelIRGraphFromJSONTyped()?
SupermodelIRGraphFromJSONTyped() is called by 1 function(s): SupermodelIRGraphFromJSON.

Analyze Your Own Codebase

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

Try Supermodel Free