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 f898440e_3d84_a1fd_23cb_3323fcc9b8cb["SupermodelIRStatsToJSON()"] 70bf7114_9140_adb0_dcfb_e8e977109f37["SupermodelIRToJSON()"] 70bf7114_9140_adb0_dcfb_e8e977109f37 -->|calls| f898440e_3d84_a1fd_23cb_3323fcc9b8cb style f898440e_3d84_a1fd_23cb_3323fcc9b8cb 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
Called By
Source
Frequently Asked Questions
What does SupermodelIRStatsToJSON() do?
SupermodelIRStatsToJSON() is a function in the typescript-sdk codebase.
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