CodeGraphStatsToJSON() — typescript-sdk Function Reference
Architecture documentation for the CodeGraphStatsToJSON() function in CodeGraphStats.ts from the typescript-sdk codebase.
Entity Profile
Dependency Diagram
graph TD 2112db88_c79b_3318_eaaf_906c71a2a284["CodeGraphStatsToJSON()"] 303e101f_576e_591a_bf19_bb12db362546["CodeGraphStats.ts"] 2112db88_c79b_3318_eaaf_906c71a2a284 -->|defined in| 303e101f_576e_591a_bf19_bb12db362546 c60bd379_8e46_11ff_25d1_df966fc1785a["CodeGraphEnvelopeToJSON()"] c60bd379_8e46_11ff_25d1_df966fc1785a -->|calls| 2112db88_c79b_3318_eaaf_906c71a2a284 style 2112db88_c79b_3318_eaaf_906c71a2a284 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/models/CodeGraphStats.ts lines 107–123
export function CodeGraphStatsToJSON(value?: CodeGraphStats | null): any {
if (value == null) {
return value;
}
return {
'nodeCount': value['nodeCount'],
'relationshipCount': value['relationshipCount'],
'nodeTypes': value['nodeTypes'],
'relationshipTypes': value['relationshipTypes'],
'filesProcessed': value['filesProcessed'],
'classes': value['classes'],
'functions': value['functions'],
'types': value['types'],
'processingTimeMs': value['processingTimeMs'],
};
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does CodeGraphStatsToJSON() do?
CodeGraphStatsToJSON() is a function in the typescript-sdk codebase, defined in src/models/CodeGraphStats.ts.
Where is CodeGraphStatsToJSON() defined?
CodeGraphStatsToJSON() is defined in src/models/CodeGraphStats.ts at line 107.
What calls CodeGraphStatsToJSON()?
CodeGraphStatsToJSON() 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