Home / Type/ CodeGraphStats Type — typescript-sdk Architecture

CodeGraphStats Type — typescript-sdk Architecture

Architecture documentation for the CodeGraphStats type/interface in CodeGraphStats.ts from the typescript-sdk codebase.

Entity Profile

Source Code

src/models/CodeGraphStats.ts lines 21–76

export interface CodeGraphStats {
    /**
     * Total number of nodes in the graph
     * @type {number}
     * @memberof CodeGraphStats
     */
    nodeCount?: number;
    /**
     * Total number of relationships in the graph
     * @type {number}
     * @memberof CodeGraphStats
     */
    relationshipCount?: number;
    /**
     * Count of nodes by type
     * @type {{ [key: string]: number; }}
     * @memberof CodeGraphStats
     */
    nodeTypes?: { [key: string]: number; };
    /**
     * Count of relationships by type
     * @type {{ [key: string]: number; }}
     * @memberof CodeGraphStats
     */
    relationshipTypes?: { [key: string]: number; };
    /**
     * 
     * @type {number}
     * @memberof CodeGraphStats
     */
    filesProcessed?: number;
    /**
     * 
     * @type {number}
     * @memberof CodeGraphStats
     */
    classes?: number;
    /**
     * 
     * @type {number}
     * @memberof CodeGraphStats
     */
    functions?: number;
    /**
     * 
     * @type {number}
     * @memberof CodeGraphStats
     */
    types?: number;
    /**
     * 
     * @type {number}
     * @memberof CodeGraphStats
     */
    processingTimeMs?: number;
}

Analyze Your Own Codebase

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

Try Supermodel Free