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
  719426e5_35e5_0ae6_dc7d_75de034535db["SupermodelIRGraphFromJSONTyped()"]
  011ca596_e9bc_5d4f_dc34_73520aeb004a["SupermodelIRGraphFromJSON()"]
  011ca596_e9bc_5d4f_dc34_73520aeb004a -->|calls| 719426e5_35e5_0ae6_dc7d_75de034535db
  style 719426e5_35e5_0ae6_dc7d_75de034535db 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.
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