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

SupermodelIRStatsToJSON() — typescript-sdk Function Reference

Architecture documentation for the SupermodelIRStatsToJSON() function in SupermodelIRStats.ts from the typescript-sdk codebase.

Entity Profile

Dependency Diagram

graph TD
  a091ded7_415c_61e3_cd32_a9972789d7fc["SupermodelIRStatsToJSON()"]
  42e1b60a_571c_1de9_a996_12197860039c["SupermodelIRStats.ts"]
  a091ded7_415c_61e3_cd32_a9972789d7fc -->|defined in| 42e1b60a_571c_1de9_a996_12197860039c
  5cb4729f_dd4c_43a0_ffb5_eac90b768885["SupermodelIRToJSON()"]
  5cb4729f_dd4c_43a0_ffb5_eac90b768885 -->|calls| a091ded7_415c_61e3_cd32_a9972789d7fc
  style a091ded7_415c_61e3_cd32_a9972789d7fc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/models/SupermodelIRStats.ts lines 72–83

export function SupermodelIRStatsToJSON(value?: SupermodelIRStats | null): any {
    if (value == null) {
        return value;
    }
    return {
        
        'nodeCount': value['nodeCount'],
        'relationshipCount': value['relationshipCount'],
        'nodeTypes': value['nodeTypes'],
        'relationshipTypes': value['relationshipTypes'],
    };
}

Domain

Subdomains

Frequently Asked Questions

What does SupermodelIRStatsToJSON() do?
SupermodelIRStatsToJSON() is a function in the typescript-sdk codebase, defined in src/models/SupermodelIRStats.ts.
Where is SupermodelIRStatsToJSON() defined?
SupermodelIRStatsToJSON() is defined in src/models/SupermodelIRStats.ts at line 72.
What calls SupermodelIRStatsToJSON()?
SupermodelIRStatsToJSON() is called by 1 function(s): SupermodelIRToJSON.

Analyze Your Own Codebase

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

Try Supermodel Free